#AB208D#AB208D

#AB208D is a mid, highly saturated pink. Relative luminance 0.116; OKLCH L 51.5% C 0.203 H 338.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB208D
RGBrgb(171, 32, 141)
HSLhsl(313, 68%, 40%)
HSVhsv(313, 81%, 67%)
CMYKcmyk(0%, 81.3%, 17.5%, 32.9%)
CIE-LABlab(40.60, 63.59, -26.92)
CIE-LCHlch(40.60, 69.05, 337.05°)
OKLaboklab(51.5% 0.1893 -0.073)
OKLCHoklch(51.5% 0.203 338.9)
XYZxyz(22.1194, 11.6163, 26.2714)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB208D #20AB3E
analogous
#8420AB #AB208D #AB2047
triadic
#AB208D #8DAB20 #208DAB
tetradic
#AB208D #AB8420 #20AB3E #2047AB
square
#AB208D #AB8420 #20AB3E #2047AB
split-complementary
#AB208D #47AB20 #20AB84
monochromatic
#440D38 #771662 #AB208D #D830B4 #E263C7

Accessibility & contrast

On white

6.32
#AB208D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB208D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB208D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB208D#FFFFFF#000000##FFFFFF
##AB208D1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#5A678A
Tritanopia (blue-blind)
#B52856
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab208d;
/* rgb */ color: rgb(171, 32, 141);
/* oklch */ color: oklch(51.5% 0.203 338.9);
Tailwind
colors: {
  custom: {
    50: '#c86dae',
    500: '#ab208d',
    950: '#000000',
  },
}
SCSS
$custom: #ab208d;
$custom-light: #c86dae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab208d",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 312.95,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.20285,
    "h": 338.9
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

primary
#AB208D
secondary
#60C776
accent
#EB623C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB208D

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

Preview Lab → · Contrast checker → · Palette generator →

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