#AB2B51#AB2B51
#AB2B51 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.165 H 8.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B51 |
|---|---|
| RGB | rgb(171, 43, 81) |
| HSL | hsl(342, 60%, 42%) |
| HSV | hsv(342, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 52.6%, 32.9%) |
| CIE-LAB | lab(39.55, 53.65, 9.00) |
| CIE-LCH | lch(39.55, 54.40, 9.52°) |
| OKLab | oklab(50.01% 0.1633 0.0231) |
| OKLCH | oklch(50.01% 0.165 8.1) |
| XYZ | xyz(19.1454, 10.9824, 8.8947) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.01
Raspberry (survey)
#B00149
ΔE00 3.23
Light Burgundy
#A8415B
ΔE00 3.93
Light Maroon
#A24857
ΔE00 5.82
Rouge
#AB1239
ΔE00 6.07
Cranberry
#9E003A
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B51 #2BAB85
analogous
#AB2B91 #AB2B51 #AB452B
triadic
#AB2B51 #51AB2B #2B51AB
tetradic
#AB2B51 #91AB2B #2BAB85 #452BAB
square
#AB2B51 #91AB2B #2BAB85 #452BAB
split-complementary
#AB2B51 #2BAB45 #2B91AB
monochromatic
#491223 #7A1F3A #AB2B51 #D0436D #DC7493
Accessibility & contrast
On white
6.57
#AB2B51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AB2B51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B51
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B51 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#6D664E
Tritanopia (blue-blind)
#BB093B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2b51; /* rgb */ color: rgb(171, 43, 81); /* oklch */ color: oklch(50.0% 0.165 8.1);
Tailwind
colors: {
custom: {
50: '#ca7081',
500: '#ab2b51',
950: '#000000',
},
}SCSS
$custom: #ab2b51; $custom-light: #ca7081; $custom-dark: #000000;
JSON
{
"hex": "#ab2b51",
"rgb": {
"r": 171,
"g": 43,
"b": 81
},
"hsl": {
"h": 342.188,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.50014,
"c": 0.16497,
"h": 8.1
},
"luminance": 0.1098
}Semantic roles & 50–950 ramp
primary
#AB2B51
secondary
#6EC4AA
accent
#E3B445
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C