#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 |
|---|---|
| RGB | rgb(171, 32, 74) |
| HSL | hsl(342, 68%, 40%) |
| HSV | hsv(342, 81%, 67%) |
| CMYK | cmyk(0%, 81.3%, 56.7%, 32.9%) |
| CIE-LAB | lab(38.18, 56.50, 11.55) |
| CIE-LCH | lch(38.18, 57.66, 11.55°) |
| OKLab | oklab(48.95% 0.1715 0.0291) |
| OKLCH | oklch(48.95% 0.174 9.6) |
| XYZ | xyz(18.5490, 10.1881, 7.4670) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 1.97
Purplish Red
#B0054B
ΔE00 2.02
Cranberry
#9E003A
ΔE00 4.47
Rouge
#AB1239
ΔE00 4.52
Light Burgundy
#A8415B
ΔE00 5.56
Berry
#990F4B
ΔE00 5.78
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 |
|---|---|---|---|---|
| ##AB204A | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.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