#AB407B#AB407B

#AB407B is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.6% C 0.154 H 349.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB407B
RGBrgb(171, 64, 123)
HSLhsl(327, 46%, 46%)
HSVhsv(327, 63%, 67%)
CMYKcmyk(0%, 62.6%, 28.1%, 32.9%)
CIE-LABlab(43.88, 49.83, -10.86)
CIE-LCHlch(43.88, 51.00, 347.70°)
OKLaboklab(53.64% 0.1511 -0.0284)
OKLCHoklch(53.64% 0.154 349.4)
XYZxyz(22.2041, 13.7570, 20.2211)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB407B #40AB70
analogous
#A540AB #AB407B #AB4045
triadic
#AB407B #7BAB40 #407BAB
tetradic
#AB407B #ABA540 #40AB70 #4045AB
square
#AB407B #ABA540 #40AB70 #4045AB
split-complementary
#AB407B #45AB40 #40ABA5
monochromatic
#521F3B #7E2F5B #AB407B #C56399 #D590B6

Accessibility & contrast

On white

5.60
#AB407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB407B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB407B#FFFFFF#000000##FFFFFF
##AB407B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab407b;
/* rgb */ color: rgb(171, 64, 123);
/* oklch */ color: oklch(53.6% 0.154 349.4);
Tailwind
colors: {
  custom: {
    50: '#c77ba1',
    500: '#ab407b',
    950: '#000000',
  },
}
SCSS
$custom: #ab407b;
$custom-light: #c77ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab407b",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 326.916,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.15372,
    "h": 349.4
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#AB407B
secondary
#86C1A0
accent
#D58D53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #AB407B

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

Preview Lab → · Contrast checker → · Palette generator →

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