#AB2B52#AB2B52
#AB2B52 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.165 H 7.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B52 |
|---|---|
| RGB | rgb(171, 43, 82) |
| HSL | hsl(342, 60%, 42%) |
| HSV | hsv(342, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 52%, 32.9%) |
| CIE-LAB | lab(39.58, 53.74, 8.40) |
| CIE-LCH | lch(39.58, 54.39, 8.88°) |
| OKLab | oklab(50.04% 0.1637 0.0217) |
| OKLCH | oklch(50.04% 0.165 7.5) |
| XYZ | xyz(19.1832, 10.9975, 9.0936) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.03
Raspberry (survey)
#B00149
ΔE00 3.29
Light Burgundy
#A8415B
ΔE00 3.90
Violet Red
#A50055
ΔE00 5.88
Light Maroon
#A24857
ΔE00 5.91
Berry
#990F4B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B52 #2BAB84
analogous
#AB2B92 #AB2B52 #AB442B
triadic
#AB2B52 #52AB2B #2B52AB
tetradic
#AB2B52 #92AB2B #2BAB84 #442BAB
square
#AB2B52 #92AB2B #2BAB84 #442BAB
split-complementary
#AB2B52 #2BAB44 #2B92AB
monochromatic
#491223 #7A1F3B #AB2B52 #D0436E #DC7494
Accessibility & contrast
On white
6.56
#AB2B52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AB2B52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B52
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B52 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6C674F
Tritanopia (blue-blind)
#BB0A3B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2b52; /* rgb */ color: rgb(171, 43, 82); /* oklch */ color: oklch(50.0% 0.165 7.5);
Tailwind
colors: {
custom: {
50: '#ca7082',
500: '#ab2b52',
950: '#000000',
},
}SCSS
$custom: #ab2b52; $custom-light: #ca7082; $custom-dark: #000000;
JSON
{
"hex": "#ab2b52",
"rgb": {
"r": 171,
"g": 43,
"b": 82
},
"hsl": {
"h": 341.719,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.50041,
"c": 0.16515,
"h": 7.5
},
"luminance": 0.10995
}Semantic roles & 50–950 ramp
primary
#AB2B52
secondary
#6EC4AA
accent
#E3B345
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C