#AB1C52#AB1C52
#AB1C52 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.179 H 5.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1C52 |
|---|---|
| RGB | rgb(171, 28, 82) |
| HSL | hsl(337, 72%, 39%) |
| HSV | hsv(337, 84%, 67%) |
| CMYK | cmyk(0%, 83.6%, 52%, 32.9%) |
| CIE-LAB | lab(38.02, 58.13, 6.20) |
| CIE-LCH | lch(38.02, 58.46, 6.09°) |
| OKLab | oklab(48.9% 0.1779 0.0163) |
| OKLCH | oklch(48.9% 0.179 5.2) |
| XYZ | xyz(18.7346, 10.1003, 8.9441) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.13
Raspberry (survey)
#B00149
ΔE00 2.59
Violet Red
#A50055
ΔE00 3.75
Berry
#990F4B
ΔE00 4.28
Purple Red
#990147
ΔE00 4.71
Light Burgundy
#A8415B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1C52 #1CAB75
analogous
#AB1C9A #AB1C52 #AB2E1C
triadic
#AB1C52 #52AB1C #1C52AB
tetradic
#AB1C52 #9AAB1C #1CAB75 #2E1CAB
square
#AB1C52 #9AAB1C #1CAB75 #2E1CAB
split-complementary
#AB1C52 #1CAB2E #1C9AAB
monochromatic
#420B20 #761339 #AB1C52 #DC286C #E45D90
Accessibility & contrast
On white
6.95
#AB1C52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#AB1C52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1C52
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1C52 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434853
Deuteranopia (green-blind)
#69634F
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab1c52; /* rgb */ color: rgb(171, 28, 82); /* oklch */ color: oklch(48.9% 0.179 5.2);
Tailwind
colors: {
custom: {
50: '#ca6a82',
500: '#ab1c52',
950: '#000000',
},
}SCSS
$custom: #ab1c52; $custom-light: #ca6a82; $custom-dark: #000000;
JSON
{
"hex": "#ab1c52",
"rgb": {
"r": 171,
"g": 28,
"b": 82
},
"hsl": {
"h": 337.343,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.48897,
"c": 0.17865,
"h": 5.2
},
"luminance": 0.10098
}Semantic roles & 50–950 ramp
primary
#AB1C52
secondary
#5AC99F
accent
#EFAA39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C