#AB2856#AB2856
#AB2856 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.169 H 4.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2856 |
|---|---|
| RGB | rgb(171, 40, 86) |
| HSL | hsl(339, 62%, 41%) |
| HSV | hsv(339, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 49.7%, 32.9%) |
| CIE-LAB | lab(39.33, 55.08, 5.51) |
| CIE-LCH | lch(39.33, 55.35, 5.71°) |
| OKLab | oklab(49.89% 0.1684 0.0146) |
| OKLCH | oklch(49.89% 0.169 4.9) |
| XYZ | xyz(19.2348, 10.8500, 9.8837) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.22
Raspberry (survey)
#B00149
ΔE00 3.64
Light Burgundy
#A8415B
ΔE00 4.47
Violet Red
#A50055
ΔE00 4.62
Berry
#990F4B
ΔE00 5.25
Deep Pink
#CB0162
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2856 #28AB7D
analogous
#AB2898 #AB2856 #AB3C28
triadic
#AB2856 #56AB28 #2856AB
tetradic
#AB2856 #98AB28 #28AB7D #3C28AB
square
#AB2856 #98AB28 #28AB7D #3C28AB
split-complementary
#AB2856 #28AB3C #2898AB
monochromatic
#481124 #791C3D #AB2856 #D23E72 #DE7096
Accessibility & contrast
On white
6.63
#AB2856 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2856 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2856
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2856 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484C57
Deuteranopia (green-blind)
#6B6653
Tritanopia (blue-blind)
#BA053C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2856; /* rgb */ color: rgb(171, 40, 86); /* oklch */ color: oklch(49.9% 0.169 4.9);
Tailwind
colors: {
custom: {
50: '#ca6e85',
500: '#ab2856',
950: '#000000',
},
}SCSS
$custom: #ab2856; $custom-light: #ca6e85; $custom-dark: #000000;
JSON
{
"hex": "#ab2856",
"rgb": {
"r": 171,
"g": 40,
"b": 86
},
"hsl": {
"h": 338.931,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49892,
"c": 0.16906,
"h": 4.9
},
"luminance": 0.10847
}Semantic roles & 50–950 ramp
primary
#AB2856
secondary
#6AC4A5
accent
#E5AC43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C