#AB2A52#AB2A52
#AB2A52 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.166 H 7.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A52 |
|---|---|
| RGB | rgb(171, 42, 82) |
| HSL | hsl(341, 61%, 42%) |
| HSV | hsv(341, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 52%, 32.9%) |
| CIE-LAB | lab(39.45, 54.08, 8.23) |
| CIE-LCH | lch(39.45, 54.70, 8.65°) |
| OKLab | oklab(49.95% 0.1648 0.0213) |
| OKLCH | oklch(49.95% 0.166 7.4) |
| XYZ | xyz(19.1473, 10.9257, 9.0816) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.91
Raspberry (survey)
#B00149
ΔE00 3.18
Light Burgundy
#A8415B
ΔE00 4.03
Violet Red
#A50055
ΔE00 5.71
Berry
#990F4B
ΔE00 5.82
Light Maroon
#A24857
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A52 #2AAB83
analogous
#AB2A93 #AB2A52 #AB422A
triadic
#AB2A52 #52AB2A #2A52AB
tetradic
#AB2A52 #93AB2A #2AAB83 #422AAB
square
#AB2A52 #93AB2A #2AAB83 #422AAB
split-complementary
#AB2A52 #2AAB42 #2A93AB
monochromatic
#491223 #7A1E3A #AB2A52 #D1426E #DD7394
Accessibility & contrast
On white
6.59
#AB2A52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2A52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A52
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A52 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#6C664F
Tritanopia (blue-blind)
#BB073B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2a52; /* rgb */ color: rgb(171, 42, 82); /* oklch */ color: oklch(50.0% 0.166 7.4);
Tailwind
colors: {
custom: {
50: '#ca6f82',
500: '#ab2a52',
950: '#000000',
},
}SCSS
$custom: #ab2a52; $custom-light: #ca6f82; $custom-dark: #000000;
JSON
{
"hex": "#ab2a52",
"rgb": {
"r": 171,
"g": 42,
"b": 82
},
"hsl": {
"h": 341.395,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49951,
"c": 0.16618,
"h": 7.4
},
"luminance": 0.10923
}Semantic roles & 50–950 ramp
primary
#AB2A52
secondary
#6DC4A9
accent
#E4B244
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C