#AB2F52#AB2F52
#AB2F52 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.161 H 8.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F52 |
|---|---|
| RGB | rgb(171, 47, 82) |
| HSL | hsl(343, 57%, 43%) |
| HSV | hsv(343, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 52%, 32.9%) |
| CIE-LAB | lab(40.09, 52.32, 9.11) |
| CIE-LCH | lch(40.09, 53.10, 9.88°) |
| OKLab | oklab(50.42% 0.1592 0.0234) |
| OKLCH | oklch(50.42% 0.161 8.4) |
| XYZ | xyz(19.3358, 11.3028, 9.1445) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.36
Purplish Red
#B0054B
ΔE00 3.60
Raspberry (survey)
#B00149
ΔE00 3.80
Light Maroon
#A24857
ΔE00 5.23
Dark Rose
#B5485D
ΔE00 5.92
Rouge
#AB1239
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F52 #2FAB88
analogous
#AB2F90 #AB2F52 #AB4A2F
triadic
#AB2F52 #52AB2F #2F52AB
tetradic
#AB2F52 #90AB2F #2FAB88 #4A2FAB
square
#AB2F52 #90AB2F #2FAB88 #4A2FAB
split-complementary
#AB2F52 #2FAB4A #2F90AB
monochromatic
#4B1524 #7B223B #AB2F52 #CD4A6F #DA7A95
Accessibility & contrast
On white
6.44
#AB2F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB2F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F52
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F52 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#BB143D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f52; /* rgb */ color: rgb(171, 47, 82); /* oklch */ color: oklch(50.4% 0.161 8.4);
Tailwind
colors: {
custom: {
50: '#ca7182',
500: '#ab2f52',
950: '#000000',
},
}SCSS
$custom: #ab2f52; $custom-light: #ca7182; $custom-dark: #000000;
JSON
{
"hex": "#ab2f52",
"rgb": {
"r": 171,
"g": 47,
"b": 82
},
"hsl": {
"h": 343.065,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50418,
"c": 0.16088,
"h": 8.4
},
"luminance": 0.113
}Semantic roles & 50–950 ramp
primary
#AB2F52
secondary
#73C3AC
accent
#E0B548
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C