#AB1C54#AB1C54
#AB1C54 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.179 H 4.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1C54 |
|---|---|
| RGB | rgb(171, 28, 84) |
| HSL | hsl(337, 72%, 39%) |
| HSV | hsv(337, 84%, 67%) |
| CMYK | cmyk(0%, 83.6%, 50.9%, 32.9%) |
| CIE-LAB | lab(38.08, 58.30, 5.00) |
| CIE-LCH | lch(38.08, 58.51, 4.90°) |
| OKLab | oklab(48.96% 0.1786 0.0133) |
| OKLCH | oklch(48.96% 0.179 4.2) |
| XYZ | xyz(18.8118, 10.1312, 9.3507) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.62
Raspberry (survey)
#B00149
ΔE00 3.09
Violet Red
#A50055
ΔE00 3.35
Berry
#990F4B
ΔE00 4.19
Purple Red
#990147
ΔE00 4.71
Dark Fuchsia
#9D0759
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1C54 #1CAB73
analogous
#AB1C9C #AB1C54 #AB2B1C
triadic
#AB1C54 #54AB1C #1C54AB
tetradic
#AB1C54 #9CAB1C #1CAB73 #2B1CAB
square
#AB1C54 #9CAB1C #1CAB73 #2B1CAB
split-complementary
#AB1C54 #1CAB2B #1C9CAB
monochromatic
#420B20 #76133A #AB1C54 #DC286F #E45D92
Accessibility & contrast
On white
6.94
#AB1C54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#AB1C54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1C54
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1C54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1C54 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434855
Deuteranopia (green-blind)
#686351
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #ab1c54; /* rgb */ color: rgb(171, 28, 84); /* oklch */ color: oklch(49.0% 0.179 4.2);
Tailwind
colors: {
custom: {
50: '#ca6a83',
500: '#ab1c54',
950: '#000000',
},
}SCSS
$custom: #ab1c54; $custom-light: #ca6a83; $custom-dark: #000000;
JSON
{
"hex": "#ab1c54",
"rgb": {
"r": 171,
"g": 28,
"b": 84
},
"hsl": {
"h": 336.503,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.48955,
"c": 0.17913,
"h": 4.2
},
"luminance": 0.10129
}Semantic roles & 50–950 ramp
primary
#AB1C54
secondary
#5AC99D
accent
#EFA839
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C