#AB2058#AB2058
#AB2058 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 2.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2058 |
|---|---|
| RGB | rgb(171, 32, 88) |
| HSL | hsl(336, 68%, 40%) |
| HSV | hsv(336, 81%, 67%) |
| CMYK | cmyk(0%, 81.3%, 48.5%, 32.9%) |
| CIE-LAB | lab(38.55, 57.61, 3.12) |
| CIE-LCH | lch(38.55, 57.70, 3.10°) |
| OKLab | oklab(49.34% 0.1768 0.0086) |
| OKLCH | oklch(49.34% 0.177 2.8) |
| XYZ | xyz(19.0742, 10.3982, 10.2333) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.22
Purplish Red
#B0054B
ΔE00 3.56
Raspberry (survey)
#B00149
ΔE00 4.04
Berry
#990F4B
ΔE00 4.50
Dark Fuchsia
#9D0759
ΔE00 5.12
Purple Red
#990147
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2058 #20AB73
analogous
#AB209E #AB2058 #AB2D20
triadic
#AB2058 #58AB20 #2058AB
tetradic
#AB2058 #9EAB20 #20AB73 #2D20AB
square
#AB2058 #9EAB20 #20AB73 #2D20AB
split-complementary
#AB2058 #20AB2D #209EAB
monochromatic
#440D23 #77163D #AB2058 #D83074 #E26396
Accessibility & contrast
On white
6.82
#AB2058 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2058 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2058
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2058 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2058 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#686455
Tritanopia (blue-blind)
#BA0039
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2058; /* rgb */ color: rgb(171, 32, 88); /* oklch */ color: oklch(49.3% 0.177 2.8);
Tailwind
colors: {
custom: {
50: '#ca6b86',
500: '#ab2058',
950: '#000000',
},
}SCSS
$custom: #ab2058; $custom-light: #ca6b86; $custom-dark: #000000;
JSON
{
"hex": "#ab2058",
"rgb": {
"r": 171,
"g": 32,
"b": 88
},
"hsl": {
"h": 335.827,
"s": 68.473,
"l": 39.804
},
"oklch": {
"l": 0.49337,
"c": 0.17699,
"h": 2.8
},
"luminance": 0.10396
}Semantic roles & 50–950 ramp
primary
#AB2058
secondary
#60C79D
accent
#EBA53C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C