#AB2558#AB2558
#AB2558 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.172 H 3.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2558 |
|---|---|
| RGB | rgb(171, 37, 88) |
| HSL | hsl(337, 64%, 41%) |
| HSV | hsv(337, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 48.5%, 32.9%) |
| CIE-LAB | lab(39.05, 56.19, 3.84) |
| CIE-LCH | lch(39.05, 56.32, 3.91°) |
| OKLab | oklab(49.71% 0.1722 0.0104) |
| OKLCH | oklch(49.71% 0.172 3.5) |
| XYZ | xyz(19.2192, 10.6883, 10.2816) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.54
Violet Red
#A50055
ΔE00 3.89
Raspberry (survey)
#B00149
ΔE00 4.01
Berry
#990F4B
ΔE00 4.90
Light Burgundy
#A8415B
ΔE00 5.12
Purple Red
#990147
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2558 #25AB78
analogous
#AB259B #AB2558 #AB3525
triadic
#AB2558 #58AB25 #2558AB
tetradic
#AB2558 #9BAB25 #25AB78 #3525AB
square
#AB2558 #9BAB25 #25AB78 #3525AB
split-complementary
#AB2558 #25AB35 #259BAB
monochromatic
#460F24 #791A3E #AB2558 #D43974 #DF6B97
Accessibility & contrast
On white
6.69
#AB2558 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB2558 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2558
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2558 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2558 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#6A6555
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2558; /* rgb */ color: rgb(171, 37, 88); /* oklch */ color: oklch(49.7% 0.172 3.5);
Tailwind
colors: {
custom: {
50: '#ca6d86',
500: '#ab2558',
950: '#000000',
},
}SCSS
$custom: #ab2558; $custom-light: #ca6d86; $custom-dark: #000000;
JSON
{
"hex": "#ab2558",
"rgb": {
"r": 171,
"g": 37,
"b": 88
},
"hsl": {
"h": 337.164,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49706,
"c": 0.17249,
"h": 3.5
},
"luminance": 0.10686
}Semantic roles & 50–950 ramp
primary
#AB2558
secondary
#67C5A1
accent
#E7A840
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C