#AB2A58#AB2A58
#AB2A58 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.168 H 4.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A58 |
|---|---|
| RGB | rgb(171, 42, 88) |
| HSL | hsl(339, 61%, 42%) |
| HSV | hsv(339, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 48.5%, 32.9%) |
| CIE-LAB | lab(39.62, 54.59, 4.65) |
| CIE-LCH | lch(39.62, 54.79, 4.87°) |
| OKLab | oklab(50.12% 0.1671 0.0124) |
| OKLCH | oklch(50.12% 0.168 4.3) |
| XYZ | xyz(19.3856, 11.0211, 10.3371) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.68
Raspberry (survey)
#B00149
ΔE00 4.11
Light Burgundy
#A8415B
ΔE00 4.34
Violet Red
#A50055
ΔE00 4.66
Berry
#990F4B
ΔE00 5.43
Deep Pink
#CB0162
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A58 #2AAB7D
analogous
#AB2A99 #AB2A58 #AB3D2A
triadic
#AB2A58 #58AB2A #2A58AB
tetradic
#AB2A58 #99AB2A #2AAB7D #3D2AAB
square
#AB2A58 #99AB2A #2AAB7D #3D2AAB
split-complementary
#AB2A58 #2AAB3D #2A99AB
monochromatic
#491225 #7A1E3F #AB2A58 #D14275 #DD7399
Accessibility & contrast
On white
6.56
#AB2A58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AB2A58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A58
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A58 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494D59
Deuteranopia (green-blind)
#6B6755
Tritanopia (blue-blind)
#BA0D3E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2a58; /* rgb */ color: rgb(171, 42, 88); /* oklch */ color: oklch(50.1% 0.168 4.3);
Tailwind
colors: {
custom: {
50: '#ca6f86',
500: '#ab2a58',
950: '#000000',
},
}SCSS
$custom: #ab2a58; $custom-light: #ca6f86; $custom-dark: #000000;
JSON
{
"hex": "#ab2a58",
"rgb": {
"r": 171,
"g": 42,
"b": 88
},
"hsl": {
"h": 338.605,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.50123,
"c": 0.16752,
"h": 4.3
},
"luminance": 0.11018
}Semantic roles & 50–950 ramp
primary
#AB2A58
secondary
#6DC4A5
accent
#E4AB44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C