#AB407A#AB407A

#AB407A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.6% C 0.153 H 349.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB407A
RGBrgb(171, 64, 122)
HSLhsl(327, 46%, 46%)
HSVhsv(327, 63%, 67%)
CMYKcmyk(0%, 62.6%, 28.7%, 32.9%)
CIE-LABlab(43.85, 49.70, -10.30)
CIE-LCHlch(43.85, 50.75, 348.29°)
OKLaboklab(53.6% 0.1508 -0.0268)
OKLCHoklch(53.6% 0.153 349.9)
XYZxyz(22.1418, 13.7321, 19.8931)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB407A #40AB71
analogous
#A640AB #AB407A #AB4044
triadic
#AB407A #7AAB40 #407AAB
tetradic
#AB407A #ABA640 #40AB71 #4044AB
square
#AB407A #ABA640 #40AB71 #4044AB
split-complementary
#AB407A #44AB40 #40ABA6
monochromatic
#521F3A #7E2F5A #AB407A #C56398 #D590B6

Accessibility & contrast

On white

5.61
#AB407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB407A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB407A#FFFFFF#000000##FFFFFF
##AB407A1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#B73C58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab407a;
/* rgb */ color: rgb(171, 64, 122);
/* oklch */ color: oklch(53.6% 0.153 349.9);
Tailwind
colors: {
  custom: {
    50: '#c77ba0',
    500: '#ab407a',
    950: '#000000',
  },
}
SCSS
$custom: #ab407a;
$custom-light: #c77ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab407a",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 327.477,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.15317,
    "h": 349.9
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#AB407A
secondary
#86C1A1
accent
#D58E53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB407A

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

Preview Lab → · Contrast checker → · Palette generator →

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