#AB2858#AB2858
#AB2858 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.170 H 3.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2858 |
|---|---|
| RGB | rgb(171, 40, 88) |
| HSL | hsl(338, 62%, 41%) |
| HSV | hsv(338, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 48.5%, 32.9%) |
| CIE-LAB | lab(39.38, 55.25, 4.32) |
| CIE-LCH | lch(39.38, 55.42, 4.47°) |
| OKLab | oklab(49.95% 0.1692 0.0116) |
| OKLCH | oklch(49.95% 0.17 3.9) |
| XYZ | xyz(19.3165, 10.8827, 10.3140) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.60
Raspberry (survey)
#B00149
ΔE00 4.05
Violet Red
#A50055
ΔE00 4.34
Light Burgundy
#A8415B
ΔE00 4.67
Berry
#990F4B
ΔE00 5.21
Deep Pink
#CB0162
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2858 #28AB7B
analogous
#AB289A #AB2858 #AB3A28
triadic
#AB2858 #58AB28 #2858AB
tetradic
#AB2858 #9AAB28 #28AB7B #3A28AB
square
#AB2858 #9AAB28 #28AB7B #3A28AB
split-complementary
#AB2858 #28AB3A #289AAB
monochromatic
#481125 #791C3E #AB2858 #D23E74 #DE7098
Accessibility & contrast
On white
6.61
#AB2858 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2858 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2858
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2858 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2858 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484C59
Deuteranopia (green-blind)
#6B6655
Tritanopia (blue-blind)
#BA073D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2858; /* rgb */ color: rgb(171, 40, 88); /* oklch */ color: oklch(50.0% 0.170 3.9);
Tailwind
colors: {
custom: {
50: '#ca6e86',
500: '#ab2858',
950: '#000000',
},
}SCSS
$custom: #ab2858; $custom-light: #ca6e86; $custom-dark: #000000;
JSON
{
"hex": "#ab2858",
"rgb": {
"r": 171,
"g": 40,
"b": 88
},
"hsl": {
"h": 338.015,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49951,
"c": 0.16957,
"h": 3.9
},
"luminance": 0.1088
}Semantic roles & 50–950 ramp
primary
#AB2858
secondary
#6AC4A3
accent
#E5AA43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C