#AB1C48#AB1C48
#AB1C48 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.177 H 10.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1C48 |
|---|---|
| RGB | rgb(171, 28, 72) |
| HSL | hsl(342, 72%, 39%) |
| HSV | hsv(342, 84%, 67%) |
| CMYK | cmyk(0%, 83.6%, 57.9%, 32.9%) |
| CIE-LAB | lab(37.77, 57.38, 12.27) |
| CIE-LCH | lch(37.77, 58.68, 12.07°) |
| OKLab | oklab(48.63% 0.1741 0.0308) |
| OKLCH | oklch(48.63% 0.177 10) |
| XYZ | xyz(18.3814, 9.9591, 7.0840) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 1.77
Purplish Red
#B0054B
ΔE00 1.95
Cranberry
#9E003A
ΔE00 4.03
Rouge
#AB1239
ΔE00 4.13
Rose Red
#BE013C
ΔE00 5.59
Purple Red
#990147
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1C48 #1CAB7F
analogous
#AB1C90 #AB1C48 #AB371C
triadic
#AB1C48 #48AB1C #1C48AB
tetradic
#AB1C48 #90AB1C #1CAB7F #371CAB
square
#AB1C48 #90AB1C #1CAB7F #371CAB
split-complementary
#AB1C48 #1CAB37 #1C90AB
monochromatic
#420B1C #761332 #AB1C48 #DC2860 #E45D87
Accessibility & contrast
On white
7.02
#AB1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#AB1C48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #AB1C48
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1C48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1C48 | 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)
#464749
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#BB0030
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab1c48; /* rgb */ color: rgb(171, 28, 72); /* oklch */ color: oklch(48.6% 0.177 10.0);
Tailwind
colors: {
custom: {
50: '#cb6a7a',
500: '#ab1c48',
950: '#000000',
},
}SCSS
$custom: #ab1c48; $custom-light: #cb6a7a; $custom-dark: #000000;
JSON
{
"hex": "#ab1c48",
"rgb": {
"r": 171,
"g": 28,
"b": 72
},
"hsl": {
"h": 341.538,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.48629,
"c": 0.1768,
"h": 10
},
"luminance": 0.09956
}Semantic roles & 50–950 ramp
primary
#AB1C48
secondary
#5AC9A7
accent
#EFB739
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150709
muted
#837A7B