#AB1C4A#AB1C4A
#AB1C4A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.177 H 9.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1C4A |
|---|---|
| RGB | rgb(171, 28, 74) |
| HSL | hsl(341, 72%, 39%) |
| HSV | hsv(341, 84%, 67%) |
| CMYK | cmyk(0%, 83.6%, 56.7%, 32.9%) |
| CIE-LAB | lab(37.82, 57.52, 11.05) |
| CIE-LCH | lch(37.82, 58.58, 10.87°) |
| OKLab | oklab(48.68% 0.1749 0.0279) |
| OKLCH | oklch(48.68% 0.177 9.1) |
| XYZ | xyz(18.4477, 9.9856, 7.4333) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 1.53
Purplish Red
#B0054B
ΔE00 1.56
Cranberry
#9E003A
ΔE00 4.28
Rouge
#AB1239
ΔE00 4.74
Berry
#990F4B
ΔE00 5.36
Purple Red
#990147
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1C4A #1CAB7D
analogous
#AB1C92 #AB1C4A #AB361C
triadic
#AB1C4A #4AAB1C #1C4AAB
tetradic
#AB1C4A #92AB1C #1CAB7D #361CAB
square
#AB1C4A #92AB1C #1CAB7D #361CAB
split-complementary
#AB1C4A #1CAB36 #1C92AB
monochromatic
#420B1C #761333 #AB1C4A #DC2862 #E45D89
Accessibility & contrast
On white
7.01
#AB1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#AB1C4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1C4A
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1C4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1C4A | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474B
Deuteranopia (green-blind)
#6A6346
Tritanopia (blue-blind)
#BB0031
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab1c4a; /* rgb */ color: rgb(171, 28, 74); /* oklch */ color: oklch(48.7% 0.177 9.1);
Tailwind
colors: {
custom: {
50: '#cb6a7c',
500: '#ab1c4a',
950: '#000000',
},
}SCSS
$custom: #ab1c4a; $custom-light: #cb6a7c; $custom-dark: #000000;
JSON
{
"hex": "#ab1c4a",
"rgb": {
"r": 171,
"g": 28,
"b": 74
},
"hsl": {
"h": 340.699,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.48679,
"c": 0.17709,
"h": 9.1
},
"luminance": 0.09983
}Semantic roles & 50–950 ramp
primary
#AB1C4A
secondary
#5AC9A5
accent
#EFB439
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150709
muted
#837A7B