#AB395E#AB395E

#AB395E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.8% C 0.151 H 4.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB395E
RGBrgb(171, 57, 94)
HSLhsl(341, 50%, 45%)
HSVhsv(341, 67%, 67%)
CMYKcmyk(0%, 66.7%, 45%, 32.9%)
CIE-LABlab(41.84, 49.48, 4.06)
CIE-LCHlch(41.84, 49.64, 4.70°)
OKLaboklab(51.82% 0.1511 0.011)
OKLCHoklch(51.82% 0.151 4.2)
XYZxyz(20.2796, 12.3948, 11.9120)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB395E #39AB86
analogous
#AB3997 #AB395E #AB4D39
triadic
#AB395E #5EAB39 #395EAB
tetradic
#AB395E #97AB39 #39AB86 #4D39AB
square
#AB395E #97AB39 #39AB86 #4D39AB
split-complementary
#AB395E #39AB4D #3997AB
monochromatic
#4F1A2C #7D2A45 #AB395E #C8597D #D787A1

Accessibility & contrast

On white

6.04
#AB395E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB395E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB395E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB395E#FFFFFF#000000##FFFFFF
##AB395E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#6F6B5B
Tritanopia (blue-blind)
#BA2A48
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab395e;
/* rgb */ color: rgb(171, 57, 94);
/* oklch */ color: oklch(51.8% 0.151 4.2);
Tailwind
colors: {
  custom: {
    50: '#c9778b',
    500: '#ab395e',
    950: '#000000',
  },
}
SCSS
$custom: #ab395e;
$custom-light: #c9778b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab395e",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 94
  },
  "hsl": {
    "h": 340.526,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.15149,
    "h": 4.2
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#AB395E
secondary
#7FC1AC
accent
#DAAC4E
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AB395E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB395E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva