#AB2E58#AB2E58
#AB2E58 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.163 H 5.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E58 |
|---|---|
| RGB | rgb(171, 46, 88) |
| HSL | hsl(340, 58%, 43%) |
| HSV | hsv(340, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 48.5%, 32.9%) |
| CIE-LAB | lab(40.11, 53.21, 5.36) |
| CIE-LCH | lch(40.11, 53.47, 5.75°) |
| OKLab | oklab(50.49% 0.1626 0.0142) |
| OKLCH | oklch(50.49% 0.163 5) |
| XYZ | xyz(19.5347, 11.3191, 10.3868) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.65
Purplish Red
#B0054B
ΔE00 3.93
Raspberry (survey)
#B00149
ΔE00 4.32
Violet Red
#A50055
ΔE00 5.35
Deep Pink
#CB0162
ΔE00 5.70
Berry
#990F4B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E58 #2EAB81
analogous
#AB2E97 #AB2E58 #AB422E
triadic
#AB2E58 #58AB2E #2E58AB
tetradic
#AB2E58 #97AB2E #2EAB81 #422EAB
square
#AB2E58 #97AB2E #2EAB81 #422EAB
split-complementary
#AB2E58 #2EAB42 #2E97AB
monochromatic
#4B1426 #7B213F #AB2E58 #CE4875 #DB799A
Accessibility & contrast
On white
6.44
#AB2E58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB2E58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E58
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E58 | 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)
#4B4F59
Deuteranopia (green-blind)
#6C6855
Tritanopia (blue-blind)
#BA163F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2e58; /* rgb */ color: rgb(171, 46, 88); /* oklch */ color: oklch(50.5% 0.163 5.0);
Tailwind
colors: {
custom: {
50: '#c97186',
500: '#ab2e58',
950: '#000000',
},
}SCSS
$custom: #ab2e58; $custom-light: #c97186; $custom-dark: #000000;
JSON
{
"hex": "#ab2e58",
"rgb": {
"r": 171,
"g": 46,
"b": 88
},
"hsl": {
"h": 339.84,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50489,
"c": 0.16321,
"h": 5
},
"luminance": 0.11316
}Semantic roles & 50–950 ramp
primary
#AB2E58
secondary
#72C3A8
accent
#E1AD47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C