#AB1854#AB1854
#AB1854 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.182 H 3.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1854 |
|---|---|
| RGB | rgb(171, 24, 84) |
| HSL | hsl(336, 75%, 38%) |
| HSV | hsv(336, 86%, 67%) |
| CMYK | cmyk(0%, 86%, 50.9%, 32.9%) |
| CIE-LAB | lab(37.76, 59.20, 4.54) |
| CIE-LCH | lch(37.76, 59.38, 4.39°) |
| OKLab | oklab(48.72% 0.1816 0.0121) |
| OKLCH | oklch(48.72% 0.182 3.8) |
| XYZ | xyz(18.7232, 9.9540, 9.3212) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.71
Violet Red
#A50055
ΔE00 2.94
Raspberry (survey)
#B00149
ΔE00 3.18
Berry
#990F4B
ΔE00 3.94
Purple Red
#990147
ΔE00 4.47
Dark Fuchsia
#9D0759
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1854 #18AB6F
analogous
#AB189D #AB1854 #AB2518
triadic
#AB1854 #54AB18 #1854AB
tetradic
#AB1854 #9DAB18 #18AB6F #2518AB
square
#AB1854 #9DAB18 #18AB6F #2518AB
split-complementary
#AB1854 #18AB25 #189DAB
monochromatic
#40091F #75103A #AB1854 #E0206F #E75691
Accessibility & contrast
On white
7.02
#AB1854 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#AB1854 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #AB1854
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1854 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1854 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414755
Deuteranopia (green-blind)
#686351
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab1854; /* rgb */ color: rgb(171, 24, 84); /* oklch */ color: oklch(48.7% 0.182 3.8);
Tailwind
colors: {
custom: {
50: '#ca6983',
500: '#ab1854',
950: '#000000',
},
}SCSS
$custom: #ab1854; $custom-light: #ca6983; $custom-dark: #000000;
JSON
{
"hex": "#ab1854",
"rgb": {
"r": 171,
"g": 24,
"b": 84
},
"hsl": {
"h": 335.51,
"s": 75.385,
"l": 38.235
},
"oklch": {
"l": 0.48723,
"c": 0.182,
"h": 3.8
},
"luminance": 0.09951
}Semantic roles & 50–950 ramp
primary
#AB1854
secondary
#55CA9A
accent
#F2A536
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C