#AB406B#AB406B

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

Color values

HEX#AB406B
RGBrgb(171, 64, 107)
HSLhsl(336, 46%, 46%)
HSVhsv(336, 63%, 67%)
CMYKcmyk(0%, 62.6%, 37.4%, 32.9%)
CIE-LABlab(43.34, 47.83, -1.82)
CIE-LCHlch(43.34, 47.87, 357.82°)
OKLaboklab(53.07% 0.1461 -0.0042)
OKLCHoklch(53.07% 0.146 358.4)
XYZxyz(21.2831, 13.3886, 15.3705)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB406B #40AB80
analogous
#AB40A0 #AB406B #AB4A40
triadic
#AB406B #6BAB40 #406BAB
tetradic
#AB406B #A0AB40 #40AB80 #4A40AB
square
#AB406B #A0AB40 #40AB80 #4A40AB
split-complementary
#AB406B #40AB4A #40A0AB
monochromatic
#521F33 #7E2F4F #AB406B #C5638B #D590AC

Accessibility & contrast

On white

5.71
#AB406B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AB406B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB406B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB406B#FFFFFF#000000##FFFFFF
##AB406B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#6F6E68
Tritanopia (blue-blind)
#B83651
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab406b;
/* rgb */ color: rgb(171, 64, 107);
/* oklch */ color: oklch(53.1% 0.146 358.4);
Tailwind
colors: {
  custom: {
    50: '#c87b95',
    500: '#ab406b',
    950: '#000000',
  },
}
SCSS
$custom: #ab406b;
$custom-light: #c87b95;
$custom-dark: #000000;
JSON
{
  "hex": "#ab406b",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 335.888,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.14615,
    "h": 358.4
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#AB406B
secondary
#86C1A9
accent
#D5A153
background
#FCF7F9
surface
#F9EEF1
border
#D2C9CB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AB406B

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

Preview Lab → · Contrast checker → · Palette generator →

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