#AB2E4A#AB2E4A
#AB2E4A is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.161 H 12.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E4A |
|---|---|
| RGB | rgb(171, 46, 74) |
| HSL | hsl(347, 58%, 43%) |
| HSV | hsv(347, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 56.7%, 32.9%) |
| CIE-LAB | lab(39.76, 52.04, 13.72) |
| CIE-LCH | lch(39.76, 53.82, 14.77°) |
| OKLab | oklab(50.12% 0.1572 0.0343) |
| OKLCH | oklch(50.12% 0.161 12.3) |
| XYZ | xyz(19.0094, 11.1090, 7.6205) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.23
Rouge
#AB1239
ΔE00 4.23
Purplish Red
#B0054B
ΔE00 4.32
Light Burgundy
#A8415B
ΔE00 4.63
Rose Red
#BE013C
ΔE00 5.07
Light Maroon
#A24857
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E4A #2EAB8F
analogous
#AB2E89 #AB2E4A #AB502E
triadic
#AB2E4A #4AAB2E #2E4AAB
tetradic
#AB2E4A #89AB2E #2EAB8F #502EAB
square
#AB2E4A #89AB2E #2EAB8F #502EAB
split-complementary
#AB2E4A #2EAB50 #2E89AB
monochromatic
#4B1420 #7B2135 #AB2E4A #CE4866 #DB798F
Accessibility & contrast
On white
6.52
#AB2E4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AB2E4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E4A
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E4A | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4D4A
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#BB0C3A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2e4a; /* rgb */ color: rgb(171, 46, 74); /* oklch */ color: oklch(50.1% 0.161 12.3);
Tailwind
colors: {
custom: {
50: '#ca717c',
500: '#ab2e4a',
950: '#000000',
},
}SCSS
$custom: #ab2e4a; $custom-light: #ca717c; $custom-dark: #000000;
JSON
{
"hex": "#ab2e4a",
"rgb": {
"r": 171,
"g": 46,
"b": 74
},
"hsl": {
"h": 346.56,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50117,
"c": 0.1609,
"h": 12.3
},
"luminance": 0.11106
}Semantic roles & 50–950 ramp
primary
#AB2E4A
secondary
#72C3B1
accent
#E1BE47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B