#AB2952#AB2952
#AB2952 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.167 H 7.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2952 |
|---|---|
| RGB | rgb(171, 41, 82) |
| HSL | hsl(341, 61%, 42%) |
| HSV | hsv(341, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 52%, 32.9%) |
| CIE-LAB | lab(39.34, 54.41, 8.06) |
| CIE-LCH | lch(39.34, 55.00, 8.43°) |
| OKLab | oklab(49.86% 0.1659 0.0209) |
| OKLCH | oklch(49.86% 0.167 7.2) |
| XYZ | xyz(19.1122, 10.8557, 9.0700) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.79
Raspberry (survey)
#B00149
ΔE00 3.09
Light Burgundy
#A8415B
ΔE00 4.17
Violet Red
#A50055
ΔE00 5.54
Berry
#990F4B
ΔE00 5.68
Purple Red
#990147
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2952 #29AB82
analogous
#AB2993 #AB2952 #AB4129
triadic
#AB2952 #52AB29 #2952AB
tetradic
#AB2952 #93AB29 #29AB82 #4129AB
square
#AB2952 #93AB29 #29AB82 #4129AB
split-complementary
#AB2952 #29AB41 #2993AB
monochromatic
#481123 #7A1D3A #AB2952 #D1406E #DD7193
Accessibility & contrast
On white
6.62
#AB2952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2952
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2952 | 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)
#4A4C53
Deuteranopia (green-blind)
#6C664F
Tritanopia (blue-blind)
#BB043A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2952; /* rgb */ color: rgb(171, 41, 82); /* oklch */ color: oklch(49.9% 0.167 7.2);
Tailwind
colors: {
custom: {
50: '#ca6f82',
500: '#ab2952',
950: '#000000',
},
}SCSS
$custom: #ab2952; $custom-light: #ca6f82; $custom-dark: #000000;
JSON
{
"hex": "#ab2952",
"rgb": {
"r": 171,
"g": 41,
"b": 82
},
"hsl": {
"h": 341.077,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49864,
"c": 0.16719,
"h": 7.2
},
"luminance": 0.10853
}Semantic roles & 50–950 ramp
primary
#AB2952
secondary
#6CC4A8
accent
#E4B243
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C