#AB2857#AB2857
#AB2857 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.169 H 4.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2857 |
|---|---|
| RGB | rgb(171, 40, 87) |
| HSL | hsl(338, 62%, 41%) |
| HSV | hsv(338, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 49.1%, 32.9%) |
| CIE-LAB | lab(39.35, 55.16, 4.91) |
| CIE-LCH | lch(39.35, 55.38, 5.09°) |
| OKLab | oklab(49.92% 0.1688 0.0131) |
| OKLCH | oklch(49.92% 0.169 4.4) |
| XYZ | xyz(19.2753, 10.8663, 10.0974) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.40
Raspberry (survey)
#B00149
ΔE00 3.84
Violet Red
#A50055
ΔE00 4.47
Light Burgundy
#A8415B
ΔE00 4.56
Berry
#990F4B
ΔE00 5.22
Deep Pink
#CB0162
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2857 #28AB7C
analogous
#AB2899 #AB2857 #AB3B28
triadic
#AB2857 #57AB28 #2857AB
tetradic
#AB2857 #99AB28 #28AB7C #3B28AB
square
#AB2857 #99AB28 #28AB7C #3B28AB
split-complementary
#AB2857 #28AB3B #2899AB
monochromatic
#481125 #791C3E #AB2857 #D23E73 #DE7097
Accessibility & contrast
On white
6.62
#AB2857 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2857 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2857
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2857 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2857 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484C58
Deuteranopia (green-blind)
#6B6654
Tritanopia (blue-blind)
#BA063C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2857; /* rgb */ color: rgb(171, 40, 87); /* oklch */ color: oklch(49.9% 0.169 4.4);
Tailwind
colors: {
custom: {
50: '#ca6e86',
500: '#ab2857',
950: '#000000',
},
}SCSS
$custom: #ab2857; $custom-light: #ca6e86; $custom-dark: #000000;
JSON
{
"hex": "#ab2857",
"rgb": {
"r": 171,
"g": 40,
"b": 87
},
"hsl": {
"h": 338.473,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49921,
"c": 0.16931,
"h": 4.4
},
"luminance": 0.10864
}Semantic roles & 50–950 ramp
primary
#AB2857
secondary
#6AC4A4
accent
#E5AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C