#AB2A4E#AB2A4E
#AB2A4E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.8% C 0.165 H 9.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A4E |
|---|---|
| RGB | rgb(171, 42, 78) |
| HSL | hsl(343, 61%, 42%) |
| HSV | hsv(343, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 54.4%, 32.9%) |
| CIE-LAB | lab(39.35, 53.75, 10.63) |
| CIE-LCH | lch(39.35, 54.79, 11.18°) |
| OKLab | oklab(49.85% 0.1633 0.027) |
| OKLCH | oklch(49.85% 0.165 9.4) |
| XYZ | xyz(18.9995, 10.8666, 8.3033) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.99
Raspberry (survey)
#B00149
ΔE00 3.07
Light Burgundy
#A8415B
ΔE00 4.26
Rouge
#AB1239
ΔE00 5.26
Cranberry
#9E003A
ΔE00 5.62
Light Maroon
#A24857
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A4E #2AAB87
analogous
#AB2A8F #AB2A4E #AB472A
triadic
#AB2A4E #4EAB2A #2A4EAB
tetradic
#AB2A4E #8FAB2A #2AAB87 #472AAB
square
#AB2A4E #8FAB2A #2AAB87 #472AAB
split-complementary
#AB2A4E #2AAB47 #2A8FAB
monochromatic
#491221 #7A1E38 #AB2A4E #D1426A #DD7390
Accessibility & contrast
On white
6.62
#AB2A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A4E
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A4E | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4C4F
Deuteranopia (green-blind)
#6D664B
Tritanopia (blue-blind)
#BB0339
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2a4e; /* rgb */ color: rgb(171, 42, 78); /* oklch */ color: oklch(49.8% 0.165 9.4);
Tailwind
colors: {
custom: {
50: '#ca6f7f',
500: '#ab2a4e',
950: '#000000',
},
}SCSS
$custom: #ab2a4e; $custom-light: #ca6f7f; $custom-dark: #000000;
JSON
{
"hex": "#ab2a4e",
"rgb": {
"r": 171,
"g": 42,
"b": 78
},
"hsl": {
"h": 343.256,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49845,
"c": 0.16549,
"h": 9.4
},
"luminance": 0.10864
}Semantic roles & 50–950 ramp
primary
#AB2A4E
secondary
#6DC4AC
accent
#E4B744
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C