#AB2B5E#AB2B5E
#AB2B5E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.168 H 1.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B5E |
|---|---|
| RGB | rgb(171, 43, 94) |
| HSL | hsl(336, 60%, 42%) |
| HSV | hsv(336, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 45%, 32.9%) |
| CIE-LAB | lab(39.91, 54.81, 1.28) |
| CIE-LCH | lch(39.91, 54.83, 1.34°) |
| OKLab | oklab(50.4% 0.1681 0.0039) |
| OKLCH | oklch(50.4% 0.168 1.3) |
| XYZ | xyz(19.6804, 11.1964, 11.7123) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.99
Light Burgundy
#A8415B
ΔE00 5.07
Raspberry (survey)
#B00149
ΔE00 5.46
Deep Pink
#CB0162
ΔE00 5.58
Deep Magenta
#A0025C
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B5E #2BAB78
analogous
#AB2B9E #AB2B5E #AB382B
triadic
#AB2B5E #5EAB2B #2B5EAB
tetradic
#AB2B5E #9EAB2B #2BAB78 #382BAB
square
#AB2B5E #9EAB2B #2BAB78 #382BAB
split-complementary
#AB2B5E #2BAB38 #2B9EAB
monochromatic
#491228 #7A1F43 #AB2B5E #D0437B #DC749E
Accessibility & contrast
On white
6.48
#AB2B5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AB2B5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B5E
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B5E | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5F
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#BA1441
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2b5e; /* rgb */ color: rgb(171, 43, 94); /* oklch */ color: oklch(50.4% 0.168 1.3);
Tailwind
colors: {
custom: {
50: '#c9708b',
500: '#ab2b5e',
950: '#000000',
},
}SCSS
$custom: #ab2b5e; $custom-light: #c9708b; $custom-dark: #000000;
JSON
{
"hex": "#ab2b5e",
"rgb": {
"r": 171,
"g": 43,
"b": 94
},
"hsl": {
"h": 336.094,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.50395,
"c": 0.16817,
"h": 1.3
},
"luminance": 0.11194
}Semantic roles & 50–950 ramp
primary
#AB2B5E
secondary
#6EC4A2
accent
#E3A445
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D