#AB2A4D#AB2A4D
#AB2A4D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.165 H 9.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A4D |
|---|---|
| RGB | rgb(171, 42, 77) |
| HSL | hsl(344, 61%, 42%) |
| HSV | hsv(344, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 55%, 32.9%) |
| CIE-LAB | lab(39.33, 53.67, 11.23) |
| CIE-LCH | lch(39.33, 54.84, 11.82°) |
| OKLab | oklab(49.82% 0.1629 0.0285) |
| OKLCH | oklch(49.82% 0.165 9.9) |
| XYZ | xyz(18.9639, 10.8524, 8.1159) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.09
Raspberry (survey)
#B00149
ΔE00 3.13
Light Burgundy
#A8415B
ΔE00 4.38
Rouge
#AB1239
ΔE00 4.99
Cranberry
#9E003A
ΔE00 5.52
Light Maroon
#A24857
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A4D #2AAB88
analogous
#AB2A8E #AB2A4D #AB482A
triadic
#AB2A4D #4DAB2A #2A4DAB
tetradic
#AB2A4D #8EAB2A #2AAB88 #482AAB
square
#AB2A4D #8EAB2A #2AAB88 #482AAB
split-complementary
#AB2A4D #2AAB48 #2A8EAB
monochromatic
#491221 #7A1E37 #AB2A4D #D14268 #DD7390
Accessibility & contrast
On white
6.62
#AB2A4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2A4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A4D
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A4D | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4C4E
Deuteranopia (green-blind)
#6D664A
Tritanopia (blue-blind)
#BB0239
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2a4d; /* rgb */ color: rgb(171, 42, 77); /* oklch */ color: oklch(49.8% 0.165 9.9);
Tailwind
colors: {
custom: {
50: '#ca6f7e',
500: '#ab2a4d',
950: '#000000',
},
}SCSS
$custom: #ab2a4d; $custom-light: #ca6f7e; $custom-dark: #000000;
JSON
{
"hex": "#ab2a4d",
"rgb": {
"r": 171,
"g": 42,
"b": 77
},
"hsl": {
"h": 343.721,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49819,
"c": 0.16535,
"h": 9.9
},
"luminance": 0.1085
}Semantic roles & 50–950 ramp
primary
#AB2A4D
secondary
#6DC4AC
accent
#E4B844
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B