#AB2E51#AB2E51
#AB2E51 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.162 H 8.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E51 |
|---|---|
| RGB | rgb(171, 46, 81) |
| HSL | hsl(343, 58%, 43%) |
| HSV | hsv(343, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 52.6%, 32.9%) |
| CIE-LAB | lab(39.93, 52.60, 9.53) |
| CIE-LCH | lch(39.93, 53.45, 10.27°) |
| OKLab | oklab(50.29% 0.1599 0.0244) |
| OKLCH | oklch(50.29% 0.162 8.7) |
| XYZ | xyz(19.2585, 11.2086, 8.9324) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.46
Light Burgundy
#A8415B
ΔE00 3.55
Raspberry (survey)
#B00149
ΔE00 3.63
Light Maroon
#A24857
ΔE00 5.33
Rouge
#AB1239
ΔE00 5.99
Dark Rose
#B5485D
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E51 #2EAB88
analogous
#AB2E90 #AB2E51 #AB492E
triadic
#AB2E51 #51AB2E #2E51AB
tetradic
#AB2E51 #90AB2E #2EAB88 #492EAB
square
#AB2E51 #90AB2E #2EAB88 #492EAB
split-complementary
#AB2E51 #2EAB49 #2E90AB
monochromatic
#4B1423 #7B213A #AB2E51 #CE486E #DB7994
Accessibility & contrast
On white
6.48
#AB2E51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AB2E51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E51
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E51 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#BB113C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2e51; /* rgb */ color: rgb(171, 46, 81); /* oklch */ color: oklch(50.3% 0.162 8.7);
Tailwind
colors: {
custom: {
50: '#ca7181',
500: '#ab2e51',
950: '#000000',
},
}SCSS
$custom: #ab2e51; $custom-light: #ca7181; $custom-dark: #000000;
JSON
{
"hex": "#ab2e51",
"rgb": {
"r": 171,
"g": 46,
"b": 81
},
"hsl": {
"h": 343.2,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50294,
"c": 0.1618,
"h": 8.7
},
"luminance": 0.11206
}Semantic roles & 50–950 ramp
primary
#AB2E51
secondary
#72C3AC
accent
#E1B647
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C