#AB406D#AB406D

#AB406D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.1% C 0.147 H 357.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB406D
RGBrgb(171, 64, 109)
HSLhsl(335, 46%, 46%)
HSVhsv(335, 63%, 67%)
CMYKcmyk(0%, 62.6%, 36.3%, 32.9%)
CIE-LABlab(43.41, 48.07, -2.96)
CIE-LCHlch(43.41, 48.16, 356.47°)
OKLaboklab(53.13% 0.1468 -0.0072)
OKLCHoklch(53.13% 0.147 357.2)
XYZxyz(21.3895, 13.4312, 15.9311)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB406D #40AB7E
analogous
#AB40A2 #AB406D #AB4840
triadic
#AB406D #6DAB40 #406DAB
tetradic
#AB406D #A2AB40 #40AB7E #4840AB
square
#AB406D #A2AB40 #40AB7E #4840AB
split-complementary
#AB406D #40AB48 #40A2AB
monochromatic
#521F34 #7E2F51 #AB406D #C5638C #D590AD

Accessibility & contrast

On white

5.70
#AB406D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB406D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB406D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB406D#FFFFFF#000000##FFFFFF
##AB406D1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6E
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#B83752
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab406d;
/* rgb */ color: rgb(171, 64, 109);
/* oklch */ color: oklch(53.1% 0.147 357.2);
Tailwind
colors: {
  custom: {
    50: '#c87b96',
    500: '#ab406d',
    950: '#000000',
  },
}
SCSS
$custom: #ab406d;
$custom-light: #c87b96;
$custom-dark: #000000;
JSON
{
  "hex": "#ab406d",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 334.766,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.14694,
    "h": 357.2
  },
  "luminance": 0.13429
}

Semantic roles & 50–950 ramp

primary
#AB406D
secondary
#86C1A8
accent
#D59E53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AB406D

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

Preview Lab → · Contrast checker → · Palette generator →

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