#AB2951#AB2951
#AB2951 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.167 H 7.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2951 |
|---|---|
| RGB | rgb(171, 41, 81) |
| HSL | hsl(342, 61%, 42%) |
| HSV | hsv(342, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 52.6%, 32.9%) |
| CIE-LAB | lab(39.31, 54.33, 8.66) |
| CIE-LCH | lch(39.31, 55.01, 9.06°) |
| OKLab | oklab(49.84% 0.1655 0.0223) |
| OKLCH | oklch(49.84% 0.167 7.7) |
| XYZ | xyz(19.0745, 10.8405, 8.8710) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.75
Raspberry (survey)
#B00149
ΔE00 3.00
Light Burgundy
#A8415B
ΔE00 4.19
Violet Red
#A50055
ΔE00 5.76
Berry
#990F4B
ΔE00 5.79
Cranberry
#9E003A
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2951 #29AB83
analogous
#AB2992 #AB2951 #AB4229
triadic
#AB2951 #51AB29 #2951AB
tetradic
#AB2951 #92AB29 #29AB83 #4229AB
square
#AB2951 #92AB29 #29AB83 #4229AB
split-complementary
#AB2951 #29AB42 #2992AB
monochromatic
#481122 #7A1D3A #AB2951 #D1406D #DD7192
Accessibility & contrast
On white
6.63
#AB2951 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2951 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2951
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2951 | 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)
#4A4C52
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#BB033A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2951; /* rgb */ color: rgb(171, 41, 81); /* oklch */ color: oklch(49.8% 0.167 7.7);
Tailwind
colors: {
custom: {
50: '#ca6f81',
500: '#ab2951',
950: '#000000',
},
}SCSS
$custom: #ab2951; $custom-light: #ca6f81; $custom-dark: #000000;
JSON
{
"hex": "#ab2951",
"rgb": {
"r": 171,
"g": 41,
"b": 81
},
"hsl": {
"h": 341.538,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49836,
"c": 0.167,
"h": 7.7
},
"luminance": 0.10838
}Semantic roles & 50–950 ramp
primary
#AB2951
secondary
#6CC4A9
accent
#E4B343
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C