#AB204D#AB204D

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

Color values

HEX#AB204D
RGBrgb(171, 32, 77)
HSLhsl(341, 68%, 40%)
HSVhsv(341, 81%, 67%)
CMYKcmyk(0%, 81.3%, 55%, 32.9%)
CIE-LABlab(38.25, 56.72, 9.73)
CIE-LCHlch(38.25, 57.55, 9.73°)
OKLaboklab(49.02% 0.1727 0.0248)
OKLCHoklch(49.02% 0.174 8.2)
XYZxyz(18.6525, 10.2295, 8.0121)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB204D #20AB7E
analogous
#AB2092 #AB204D #AB3920
triadic
#AB204D #4DAB20 #204DAB
tetradic
#AB204D #92AB20 #20AB7E #3920AB
square
#AB204D #92AB20 #20AB7E #3920AB
split-complementary
#AB204D #20AB39 #2092AB
monochromatic
#440D1F #771636 #AB204D #D83066 #E2638C

Accessibility & contrast

On white

6.90
#AB204D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#AB204D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB204D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB204D#FFFFFF#000000##FFFFFF
##AB204D1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484E
Deuteranopia (green-blind)
#6A644A
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab204d;
/* rgb */ color: rgb(171, 32, 77);
/* oklch */ color: oklch(49.0% 0.174 8.2);
Tailwind
colors: {
  custom: {
    50: '#cb6b7e',
    500: '#ab204d',
    950: '#000000',
  },
}
SCSS
$custom: #ab204d;
$custom-light: #cb6b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab204d",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 340.576,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.17448,
    "h": 8.2
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#AB204D
secondary
#60C7A6
accent
#EBB33C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AB204D

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

Preview Lab → · Contrast checker → · Palette generator →

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