#AB2C52#AB2C52
#AB2C52 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.164 H 7.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C52 |
|---|---|
| RGB | rgb(171, 44, 82) |
| HSL | hsl(342, 59%, 42%) |
| HSV | hsv(342, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 52%, 32.9%) |
| CIE-LAB | lab(39.70, 53.39, 8.57) |
| CIE-LCH | lch(39.70, 54.08, 9.12°) |
| OKLab | oklab(50.13% 0.1626 0.0221) |
| OKLCH | oklch(50.13% 0.164 7.7) |
| XYZ | xyz(19.2200, 11.0711, 9.1059) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.16
Raspberry (survey)
#B00149
ΔE00 3.41
Light Burgundy
#A8415B
ΔE00 3.76
Light Maroon
#A24857
ΔE00 5.75
Violet Red
#A50055
ΔE00 6.06
Berry
#990F4B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C52 #2CAB85
analogous
#AB2C92 #AB2C52 #AB452C
triadic
#AB2C52 #52AB2C #2C52AB
tetradic
#AB2C52 #92AB2C #2CAB85 #452CAB
square
#AB2C52 #92AB2C #2CAB85 #452CAB
split-complementary
#AB2C52 #2CAB45 #2C92AB
monochromatic
#4A1323 #7A1F3B #AB2C52 #CF456E #DC7694
Accessibility & contrast
On white
6.53
#AB2C52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB2C52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C52
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C52 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#BB0D3C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2c52; /* rgb */ color: rgb(171, 44, 82); /* oklch */ color: oklch(50.1% 0.164 7.7);
Tailwind
colors: {
custom: {
50: '#ca7082',
500: '#ab2c52',
950: '#000000',
},
}SCSS
$custom: #ab2c52; $custom-light: #ca7082; $custom-dark: #000000;
JSON
{
"hex": "#ab2c52",
"rgb": {
"r": 171,
"g": 44,
"b": 82
},
"hsl": {
"h": 342.047,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.50132,
"c": 0.16411,
"h": 7.7
},
"luminance": 0.11068
}Semantic roles & 50–950 ramp
primary
#AB2C52
secondary
#6FC3AA
accent
#E2B346
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C