#AB2851#AB2851
#AB2851 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.168 H 7.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2851 |
|---|---|
| RGB | rgb(171, 40, 81) |
| HSL | hsl(341, 62%, 41%) |
| HSV | hsv(341, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 52.6%, 32.9%) |
| CIE-LAB | lab(39.19, 54.65, 8.50) |
| CIE-LCH | lch(39.19, 55.31, 8.84°) |
| OKLab | oklab(49.75% 0.1666 0.0219) |
| OKLCH | oklch(49.75% 0.168 7.5) |
| XYZ | xyz(19.0403, 10.7723, 8.8596) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.63
Raspberry (survey)
#B00149
ΔE00 2.90
Light Burgundy
#A8415B
ΔE00 4.32
Violet Red
#A50055
ΔE00 5.59
Berry
#990F4B
ΔE00 5.65
Cranberry
#9E003A
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2851 #28AB82
analogous
#AB2893 #AB2851 #AB4128
triadic
#AB2851 #51AB28 #2851AB
tetradic
#AB2851 #93AB28 #28AB82 #4128AB
square
#AB2851 #93AB28 #28AB82 #4128AB
split-complementary
#AB2851 #28AB41 #2893AB
monochromatic
#481122 #791C3A #AB2851 #D23E6C #DE7092
Accessibility & contrast
On white
6.66
#AB2851 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AB2851 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2851
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2851 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C52
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2851; /* rgb */ color: rgb(171, 40, 81); /* oklch */ color: oklch(49.8% 0.168 7.5);
Tailwind
colors: {
custom: {
50: '#ca6e81',
500: '#ab2851',
950: '#000000',
},
}SCSS
$custom: #ab2851; $custom-light: #ca6e81; $custom-dark: #000000;
JSON
{
"hex": "#ab2851",
"rgb": {
"r": 171,
"g": 40,
"b": 81
},
"hsl": {
"h": 341.221,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49751,
"c": 0.16798,
"h": 7.5
},
"luminance": 0.1077
}Semantic roles & 50–950 ramp
primary
#AB2851
secondary
#6AC4A8
accent
#E5B243
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C