#AB204A#AB204A

#AB204A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.174 H 9.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AB204A
RGBrgb(171, 32, 74)
HSLhsl(342, 68%, 40%)
HSVhsv(342, 81%, 67%)
CMYKcmyk(0%, 81.3%, 56.7%, 32.9%)
CIE-LABlab(38.18, 56.50, 11.55)
CIE-LCHlch(38.18, 57.66, 11.55°)
OKLaboklab(48.95% 0.1715 0.0291)
OKLCHoklch(48.95% 0.174 9.6)
XYZxyz(18.5490, 10.1881, 7.4670)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB204A #20AB81
analogous
#AB208F #AB204A #AB3C20
triadic
#AB204A #4AAB20 #204AAB
tetradic
#AB204A #8FAB20 #20AB81 #3C20AB
square
#AB204A #8FAB20 #20AB81 #3C20AB
split-complementary
#AB204A #20AB3C #208FAB
monochromatic
#440D1D #771634 #AB204A #D83063 #E2638A

Accessibility & contrast

On white

6.91
#AB204A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#AB204A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB204A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB204A#FFFFFF#000000##FFFFFF
##AB204A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#6B6447
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab204a;
/* rgb */ color: rgb(171, 32, 74);
/* oklch */ color: oklch(48.9% 0.174 9.6);
Tailwind
colors: {
  custom: {
    50: '#cb6b7c',
    500: '#ab204a',
    950: '#000000',
  },
}
SCSS
$custom: #ab204a;
$custom-light: #cb6b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab204a",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 341.871,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.17399,
    "h": 9.6
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#AB204A
secondary
#60C7A8
accent
#EBB63C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AB204A

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

Preview Lab → · Contrast checker → · Palette generator →

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