#AB208E#AB208E

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

Color values

HEX#AB208E
RGBrgb(171, 32, 142)
HSLhsl(313, 68%, 40%)
HSVhsv(313, 81%, 67%)
CMYKcmyk(0%, 81.3%, 17%, 32.9%)
CIE-LABlab(40.65, 63.72, -27.46)
CIE-LCHlch(40.65, 69.39, 336.69°)
OKLaboklab(51.55% 0.1894 -0.0745)
OKLCHoklch(51.55% 0.204 338.5)
XYZxyz(22.1942, 11.6462, 26.6650)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB208E #20AB3D
analogous
#8320AB #AB208E #AB2049
triadic
#AB208E #8EAB20 #208EAB
tetradic
#AB208E #AB8320 #20AB3D #2049AB
square
#AB208E #AB8320 #20AB3D #2049AB
split-complementary
#AB208E #49AB20 #20AB83
monochromatic
#440D38 #771663 #AB208E #D830B5 #E263C8

Accessibility & contrast

On white

6.31
#AB208E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB208E
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB208E#FFFFFF#000000##FFFFFF
##AB208E1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#B52856
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab208e;
/* rgb */ color: rgb(171, 32, 142);
/* oklch */ color: oklch(51.5% 0.203 338.5);
Tailwind
colors: {
  custom: {
    50: '#c86daf',
    500: '#ab208e',
    950: '#000000',
  },
}
SCSS
$custom: #ab208e;
$custom-light: #c86daf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab208e",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 312.518,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.2035,
    "h": 338.5
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#AB208E
secondary
#60C775
accent
#EB613C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB208E

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

Preview Lab → · Contrast checker → · Palette generator →

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