#AB406C#AB406C

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

Color values

HEX#AB406C
RGBrgb(171, 64, 108)
HSLhsl(335, 46%, 46%)
HSVhsv(335, 63%, 67%)
CMYKcmyk(0%, 62.6%, 36.8%, 32.9%)
CIE-LABlab(43.37, 47.95, -2.39)
CIE-LCHlch(43.37, 48.01, 357.14°)
OKLaboklab(53.1% 0.1464 -0.0057)
OKLCHoklch(53.1% 0.147 357.8)
XYZxyz(21.3360, 13.4098, 15.6492)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB406C #40AB7F
analogous
#AB40A1 #AB406C #AB4940
triadic
#AB406C #6CAB40 #406CAB
tetradic
#AB406C #A1AB40 #40AB7F #4940AB
square
#AB406C #A1AB40 #40AB7F #4940AB
split-complementary
#AB406C #40AB49 #40A1AB
monochromatic
#521F34 #7E2F50 #AB406C #C5638B #D590AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB406C#FFFFFF#000000##FFFFFF
##AB406C1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6D
Deuteranopia (green-blind)
#6F6E69
Tritanopia (blue-blind)
#B83751
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab406c;
/* rgb */ color: rgb(171, 64, 108);
/* oklch */ color: oklch(53.1% 0.147 357.8);
Tailwind
colors: {
  custom: {
    50: '#c87b96',
    500: '#ab406c',
    950: '#000000',
  },
}
SCSS
$custom: #ab406c;
$custom-light: #c87b96;
$custom-dark: #000000;
JSON
{
  "hex": "#ab406c",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 335.327,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.14654,
    "h": 357.8
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB406C

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

Preview Lab → · Contrast checker → · Palette generator →

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