#AB1E4A#AB1E4A
#AB1E4A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.176 H 9.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1E4A |
|---|---|
| RGB | rgb(171, 30, 74) |
| HSL | hsl(341, 70%, 39%) |
| HSV | hsv(341, 82%, 67%) |
| CMYK | cmyk(0%, 82.5%, 56.7%, 32.9%) |
| CIE-LAB | lab(37.99, 57.02, 11.29) |
| CIE-LCH | lch(37.99, 58.13, 11.20°) |
| OKLab | oklab(48.81% 0.1732 0.0285) |
| OKLCH | oklch(48.81% 0.176 9.3) |
| XYZ | xyz(18.4967, 10.0836, 7.4496) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 1.74
Purplish Red
#B0054B
ΔE00 1.78
Cranberry
#9E003A
ΔE00 4.36
Rouge
#AB1239
ΔE00 4.63
Berry
#990F4B
ΔE00 5.56
Purple Red
#990147
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1E4A #1EAB7F
analogous
#AB1E90 #AB1E4A #AB391E
triadic
#AB1E4A #4AAB1E #1E4AAB
tetradic
#AB1E4A #90AB1E #1EAB7F #391EAB
square
#AB1E4A #90AB1E #1EAB7F #391EAB
split-complementary
#AB1E4A #1EAB39 #1E90AB
monochromatic
#430C1D #771533 #AB1E4A #DA2C62 #E36089
Accessibility & contrast
On white
6.96
#AB1E4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#AB1E4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1E4A
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1E4A | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46474B
Deuteranopia (green-blind)
#6A6346
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab1e4a; /* rgb */ color: rgb(171, 30, 74); /* oklch */ color: oklch(48.8% 0.176 9.3);
Tailwind
colors: {
custom: {
50: '#cb6a7c',
500: '#ab1e4a',
950: '#000000',
},
}SCSS
$custom: #ab1e4a; $custom-light: #cb6a7c; $custom-dark: #000000;
JSON
{
"hex": "#ab1e4a",
"rgb": {
"r": 171,
"g": 30,
"b": 74
},
"hsl": {
"h": 341.277,
"s": 70.149,
"l": 39.412
},
"oklch": {
"l": 0.48808,
"c": 0.17558,
"h": 9.3
},
"luminance": 0.10081
}Semantic roles & 50–950 ramp
primary
#AB1E4A
secondary
#5DC8A6
accent
#EDB53B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150709
muted
#837A7B