#AB2E5A#AB2E5A
#AB2E5A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 3.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E5A |
|---|---|
| RGB | rgb(171, 46, 90) |
| HSL | hsl(339, 58%, 43%) |
| HSV | hsv(339, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 47.4%, 32.9%) |
| CIE-LAB | lab(40.17, 53.39, 4.18) |
| CIE-LCH | lch(40.17, 53.55, 4.48°) |
| OKLab | oklab(50.55% 0.1633 0.0113) |
| OKLCH | oklch(50.55% 0.164 3.9) |
| XYZ | xyz(19.6186, 11.3527, 10.8291) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.89
Purplish Red
#B0054B
ΔE00 4.26
Raspberry (survey)
#B00149
ΔE00 4.68
Violet Red
#A50055
ΔE00 5.10
Deep Pink
#CB0162
ΔE00 5.59
Berry
#990F4B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E5A #2EAB7F
analogous
#AB2E99 #AB2E5A #AB402E
triadic
#AB2E5A #5AAB2E #2E5AAB
tetradic
#AB2E5A #99AB2E #2EAB7F #402EAB
square
#AB2E5A #99AB2E #2EAB7F #402EAB
split-complementary
#AB2E5A #2EAB40 #2E99AB
monochromatic
#4B1427 #7B2141 #AB2E5A #CE4877 #DB799B
Accessibility & contrast
On white
6.42
#AB2E5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AB2E5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E5A
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E5A | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6C6857
Tritanopia (blue-blind)
#BA1740
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2e5a; /* rgb */ color: rgb(171, 46, 90); /* oklch */ color: oklch(50.5% 0.164 3.9);
Tailwind
colors: {
custom: {
50: '#c97188',
500: '#ab2e5a',
950: '#000000',
},
}SCSS
$custom: #ab2e5a; $custom-light: #c97188; $custom-dark: #000000;
JSON
{
"hex": "#ab2e5a",
"rgb": {
"r": 171,
"g": 46,
"b": 90
},
"hsl": {
"h": 338.88,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50548,
"c": 0.16372,
"h": 3.9
},
"luminance": 0.1135
}Semantic roles & 50–950 ramp
primary
#AB2E5A
secondary
#72C3A6
accent
#E1AB47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C