#AB208F#AB208F

#AB208F is a mid, highly saturated pink. Relative luminance 0.117; OKLCH L 51.6% C 0.204 H 338.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB208F
RGBrgb(171, 32, 143)
HSLhsl(312, 68%, 40%)
HSVhsv(312, 81%, 67%)
CMYKcmyk(0%, 81.3%, 16.4%, 32.9%)
CIE-LABlab(40.70, 63.86, -27.99)
CIE-LCHlch(40.70, 69.73, 336.33°)
OKLaboklab(51.6% 0.1894 -0.0761)
OKLCHoklch(51.6% 0.204 338.1)
XYZxyz(22.2696, 11.6763, 27.0622)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB208F #20AB3C
analogous
#8120AB #AB208F #AB204A
triadic
#AB208F #8FAB20 #208FAB
tetradic
#AB208F #AB8120 #20AB3C #204AAB
square
#AB208F #AB8120 #20AB3C #204AAB
split-complementary
#AB208F #4AAB20 #20AB81
monochromatic
#440D39 #771664 #AB208F #D830B6 #E263C8

Accessibility & contrast

On white

6.30
#AB208F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB208F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB208F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB208F#FFFFFF#000000##FFFFFF
##AB208F1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#59678C
Tritanopia (blue-blind)
#B52957
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab208f;
/* rgb */ color: rgb(171, 32, 143);
/* oklch */ color: oklch(51.6% 0.204 338.1);
Tailwind
colors: {
  custom: {
    50: '#c86db0',
    500: '#ab208f',
    950: '#000000',
  },
}
SCSS
$custom: #ab208f;
$custom-light: #c86db0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab208f",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 312.086,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.20415,
    "h": 338.1
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#AB208F
secondary
#60C775
accent
#EB603C
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB208F

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

Preview Lab → · Contrast checker → · Palette generator →

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