#AB406A#AB406A

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

Color values

HEX#AB406A
RGBrgb(171, 64, 106)
HSLhsl(336, 46%, 46%)
HSVhsv(336, 63%, 67%)
CMYKcmyk(0%, 62.6%, 38%, 32.9%)
CIE-LABlab(43.31, 47.72, -1.25)
CIE-LCHlch(43.31, 47.74, 358.50°)
OKLaboklab(53.03% 0.1458 -0.0027)
OKLCHoklch(53.03% 0.146 359)
XYZxyz(21.2308, 13.3677, 15.0950)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB406A #40AB81
analogous
#AB409F #AB406A #AB4B40
triadic
#AB406A #6AAB40 #406AAB
tetradic
#AB406A #9FAB40 #40AB81 #4B40AB
square
#AB406A #9FAB40 #40AB81 #4B40AB
split-complementary
#AB406A #40AB4B #409FAB
monochromatic
#521F33 #7E2F4E #AB406A #C5638A #D590AB

Accessibility & contrast

On white

5.72
#AB406A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB406A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB406A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB406A#FFFFFF#000000##FFFFFF
##AB406A1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6B
Deuteranopia (green-blind)
#706E68
Tritanopia (blue-blind)
#B83650
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab406a;
/* rgb */ color: rgb(171, 64, 106);
/* oklch */ color: oklch(53.0% 0.146 359.0);
Tailwind
colors: {
  custom: {
    50: '#c87b94',
    500: '#ab406a',
    950: '#000000',
  },
}
SCSS
$custom: #ab406a;
$custom-light: #c87b94;
$custom-dark: #000000;
JSON
{
  "hex": "#ab406a",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 336.449,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.14577,
    "h": 359
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#AB406A
secondary
#86C1AA
accent
#D5A253
background
#FCF7F9
surface
#F9EEF1
border
#D2C9CB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AB406A

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

Preview Lab → · Contrast checker → · Palette generator →

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