#AB2F59#AB2F59
#AB2F59 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.162 H 4.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F59 |
|---|---|
| RGB | rgb(171, 47, 89) |
| HSL | hsl(340, 57%, 43%) |
| HSV | hsv(340, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 48%, 32.9%) |
| CIE-LAB | lab(40.27, 52.93, 4.96) |
| CIE-LCH | lch(40.27, 53.17, 5.35°) |
| OKLab | oklab(50.62% 0.1618 0.0132) |
| OKLCH | oklch(50.62% 0.162 4.7) |
| XYZ | xyz(19.6159, 11.4148, 10.6196) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.58
Purplish Red
#B0054B
ΔE00 4.16
Raspberry (survey)
#B00149
ΔE00 4.56
Violet Red
#A50055
ΔE00 5.40
Deep Pink
#CB0162
ΔE00 5.67
Berry
#990F4B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F59 #2FAB81
analogous
#AB2F97 #AB2F59 #AB432F
triadic
#AB2F59 #59AB2F #2F59AB
tetradic
#AB2F59 #97AB2F #2FAB81 #432FAB
square
#AB2F59 #97AB2F #2FAB81 #432FAB
split-complementary
#AB2F59 #2FAB43 #2F97AB
monochromatic
#4B1527 #7B2240 #AB2F59 #CD4A76 #DA7A9B
Accessibility & contrast
On white
6.40
#AB2F59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AB2F59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F59
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F59 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F5A
Deuteranopia (green-blind)
#6C6856
Tritanopia (blue-blind)
#BA1840
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2f59; /* rgb */ color: rgb(171, 47, 89); /* oklch */ color: oklch(50.6% 0.162 4.7);
Tailwind
colors: {
custom: {
50: '#c97287',
500: '#ab2f59',
950: '#000000',
},
}SCSS
$custom: #ab2f59; $custom-light: #c97287; $custom-dark: #000000;
JSON
{
"hex": "#ab2f59",
"rgb": {
"r": 171,
"g": 47,
"b": 89
},
"hsl": {
"h": 339.677,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50615,
"c": 0.16234,
"h": 4.7
},
"luminance": 0.11412
}Semantic roles & 50–950 ramp
primary
#AB2F59
secondary
#73C3A8
accent
#E0AC48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C