#AB2E54#AB2E54
#AB2E54 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.162 H 7.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E54 |
|---|---|
| RGB | rgb(171, 46, 84) |
| HSL | hsl(342, 58%, 43%) |
| HSV | hsv(342, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 50.9%, 32.9%) |
| CIE-LAB | lab(40.01, 52.85, 7.74) |
| CIE-LCH | lch(40.01, 53.42, 8.33°) |
| OKLab | oklab(50.38% 0.1611 0.0201) |
| OKLCH | oklch(50.38% 0.162 7.1) |
| XYZ | xyz(19.3735, 11.2546, 9.5380) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 3.51
Raspberry (survey)
#B00149
ΔE00 3.79
Light Maroon
#A24857
ΔE00 5.61
Violet Red
#A50055
ΔE00 6.02
Deep Pink
#CB0162
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E54 #2EAB85
analogous
#AB2E93 #AB2E54 #AB462E
triadic
#AB2E54 #54AB2E #2E54AB
tetradic
#AB2E54 #93AB2E #2EAB85 #462EAB
square
#AB2E54 #93AB2E #2EAB85 #462EAB
split-complementary
#AB2E54 #2EAB46 #2E93AB
monochromatic
#4B1425 #7B213C #AB2E54 #CE4871 #DB7996
Accessibility & contrast
On white
6.46
#AB2E54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AB2E54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E54
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E54 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4E55
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#BA133E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2e54; /* rgb */ color: rgb(171, 46, 84); /* oklch */ color: oklch(50.4% 0.162 7.1);
Tailwind
colors: {
custom: {
50: '#ca7183',
500: '#ab2e54',
950: '#000000',
},
}SCSS
$custom: #ab2e54; $custom-light: #ca7183; $custom-dark: #000000;
JSON
{
"hex": "#ab2e54",
"rgb": {
"r": 171,
"g": 46,
"b": 84
},
"hsl": {
"h": 341.76,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50376,
"c": 0.16234,
"h": 7.1
},
"luminance": 0.11252
}Semantic roles & 50–950 ramp
primary
#AB2E54
secondary
#72C3AA
accent
#E1B247
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C