#AB406E#AB406E

#AB406E is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.2% C 0.147 H 356.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB406E
RGBrgb(171, 64, 110)
HSLhsl(334, 46%, 46%)
HSVhsv(334, 63%, 67%)
CMYKcmyk(0%, 62.6%, 35.7%, 32.9%)
CIE-LABlab(43.44, 48.19, -3.53)
CIE-LCHlch(43.44, 48.32, 355.81°)
OKLaboklab(53.17% 0.1471 -0.0087)
OKLCHoklch(53.17% 0.147 356.6)
XYZxyz(21.4437, 13.4528, 16.2162)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB406E #40AB7D
analogous
#AB40A3 #AB406E #AB4740
triadic
#AB406E #6EAB40 #406EAB
tetradic
#AB406E #A3AB40 #40AB7D #4740AB
square
#AB406E #A3AB40 #40AB7D #4740AB
split-complementary
#AB406E #40AB47 #40A3AB
monochromatic
#521F35 #7E2F51 #AB406E #C5638D #D590AE

Accessibility & contrast

On white

5.69
#AB406E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB406E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB406E#FFFFFF#000000##FFFFFF
##AB406E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab406e;
/* rgb */ color: rgb(171, 64, 110);
/* oklch */ color: oklch(53.2% 0.147 356.6);
Tailwind
colors: {
  custom: {
    50: '#c87b97',
    500: '#ab406e',
    950: '#000000',
  },
}
SCSS
$custom: #ab406e;
$custom-light: #c87b97;
$custom-dark: #000000;
JSON
{
  "hex": "#ab406e",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 334.206,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.14736,
    "h": 356.6
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#AB406E
secondary
#86C1A7
accent
#D59D53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AB406E

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

Preview Lab → · Contrast checker → · Palette generator →

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