#AB2E57#AB2E57
#AB2E57 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.163 H 5.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E57 |
|---|---|
| RGB | rgb(171, 46, 87) |
| HSL | hsl(340, 58%, 43%) |
| HSV | hsv(340, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 49.1%, 32.9%) |
| CIE-LAB | lab(40.09, 53.12, 5.96) |
| CIE-LCH | lch(40.09, 53.45, 6.40°) |
| OKLab | oklab(50.46% 0.1622 0.0157) |
| OKLCH | oklch(50.46% 0.163 5.5) |
| XYZ | xyz(19.4935, 11.3026, 10.1701) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.56
Purplish Red
#B0054B
ΔE00 3.79
Raspberry (survey)
#B00149
ΔE00 4.16
Violet Red
#A50055
ΔE00 5.50
Deep Pink
#CB0162
ΔE00 5.78
Berry
#990F4B
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E57 #2EAB82
analogous
#AB2E96 #AB2E57 #AB432E
triadic
#AB2E57 #57AB2E #2E57AB
tetradic
#AB2E57 #96AB2E #2EAB82 #432EAB
square
#AB2E57 #96AB2E #2EAB82 #432EAB
split-complementary
#AB2E57 #2EAB43 #2E96AB
monochromatic
#4B1426 #7B213E #AB2E57 #CE4874 #DB7999
Accessibility & contrast
On white
6.44
#AB2E57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB2E57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E57
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E57 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F58
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#BA153F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2e57; /* rgb */ color: rgb(171, 46, 87); /* oklch */ color: oklch(50.5% 0.163 5.5);
Tailwind
colors: {
custom: {
50: '#ca7186',
500: '#ab2e57',
950: '#000000',
},
}SCSS
$custom: #ab2e57; $custom-light: #ca7186; $custom-dark: #000000;
JSON
{
"hex": "#ab2e57",
"rgb": {
"r": 171,
"g": 46,
"b": 87
},
"hsl": {
"h": 340.32,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.5046,
"c": 0.16298,
"h": 5.5
},
"luminance": 0.113
}Semantic roles & 50–950 ramp
primary
#AB2E57
secondary
#72C3A8
accent
#E1AE47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C