#AB2C5E#AB2C5E
#AB2C5E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.167 H 1.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C5E |
|---|---|
| RGB | rgb(171, 44, 94) |
| HSL | hsl(336, 59%, 42%) |
| HSV | hsv(336, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 45%, 32.9%) |
| CIE-LAB | lab(40.03, 54.47, 1.46) |
| CIE-LCH | lch(40.03, 54.49, 1.53°) |
| OKLab | oklab(50.49% 0.167 0.0044) |
| OKLCH | oklch(50.49% 0.167 1.5) |
| XYZ | xyz(19.7172, 11.2700, 11.7245) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 4.90
Purplish Red
#B0054B
ΔE00 5.00
Raspberry (survey)
#B00149
ΔE00 5.47
Deep Pink
#CB0162
ΔE00 5.57
Berry
#990F4B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C5E #2CAB79
analogous
#AB2C9E #AB2C5E #AB3A2C
triadic
#AB2C5E #5EAB2C #2C5EAB
tetradic
#AB2C5E #9EAB2C #2CAB79 #3A2CAB
square
#AB2C5E #9EAB2C #2CAB79 #3A2CAB
split-complementary
#AB2C5E #2CAB3A #2C9EAB
monochromatic
#4A1328 #7A1F43 #AB2C5E #CF457B #DC769E
Accessibility & contrast
On white
6.45
#AB2C5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AB2C5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C5E
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C5E | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F5F
Deuteranopia (green-blind)
#6B675B
Tritanopia (blue-blind)
#BA1641
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2c5e; /* rgb */ color: rgb(171, 44, 94); /* oklch */ color: oklch(50.5% 0.167 1.5);
Tailwind
colors: {
custom: {
50: '#c9708b',
500: '#ab2c5e',
950: '#000000',
},
}SCSS
$custom: #ab2c5e; $custom-light: #c9708b; $custom-dark: #000000;
JSON
{
"hex": "#ab2c5e",
"rgb": {
"r": 171,
"g": 44,
"b": 94
},
"hsl": {
"h": 336.378,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.50485,
"c": 0.16708,
"h": 1.5
},
"luminance": 0.11267
}Semantic roles & 50–950 ramp
primary
#AB2C5E
secondary
#6FC3A2
accent
#E2A546
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D