#AB2F51#AB2F51
#AB2F51 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.161 H 8.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F51 |
|---|---|
| RGB | rgb(171, 47, 81) |
| HSL | hsl(344, 57%, 43%) |
| HSV | hsv(344, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 52.6%, 32.9%) |
| CIE-LAB | lab(40.06, 52.23, 9.71) |
| CIE-LCH | lch(40.06, 53.13, 10.53°) |
| OKLab | oklab(50.39% 0.1588 0.0249) |
| OKLCH | oklch(50.39% 0.161 8.9) |
| XYZ | xyz(19.2980, 11.2877, 8.9455) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 3.63
Raspberry (survey)
#B00149
ΔE00 3.79
Light Maroon
#A24857
ΔE00 5.16
Dark Rose
#B5485D
ΔE00 5.87
Rouge
#AB1239
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F51 #2FAB89
analogous
#AB2F8F #AB2F51 #AB4B2F
triadic
#AB2F51 #51AB2F #2F51AB
tetradic
#AB2F51 #8FAB2F #2FAB89 #4B2FAB
square
#AB2F51 #8FAB2F #2FAB89 #4B2FAB
split-complementary
#AB2F51 #2FAB4B #2F8FAB
monochromatic
#4B1524 #7B223A #AB2F51 #CD4A6E #DA7A94
Accessibility & contrast
On white
6.45
#AB2F51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB2F51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F51
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F51 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#BB133D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f51; /* rgb */ color: rgb(171, 47, 81); /* oklch */ color: oklch(50.4% 0.161 8.9);
Tailwind
colors: {
custom: {
50: '#ca7181',
500: '#ab2f51',
950: '#000000',
},
}SCSS
$custom: #ab2f51; $custom-light: #ca7181; $custom-dark: #000000;
JSON
{
"hex": "#ab2f51",
"rgb": {
"r": 171,
"g": 47,
"b": 81
},
"hsl": {
"h": 343.548,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50391,
"c": 0.16071,
"h": 8.9
},
"luminance": 0.11285
}Semantic roles & 50–950 ramp
primary
#AB2F51
secondary
#73C3AD
accent
#E0B648
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C