#AB2A4A#AB2A4A
#AB2A4A is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.165 H 11.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A4A |
|---|---|
| RGB | rgb(171, 42, 74) |
| HSL | hsl(345, 61%, 42%) |
| HSV | hsv(345, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 56.7%, 32.9%) |
| CIE-LAB | lab(39.26, 53.44, 13.04) |
| CIE-LCH | lch(39.26, 55.01, 13.71°) |
| OKLab | oklab(49.74% 0.1617 0.0327) |
| OKLCH | oklch(49.74% 0.165 11.4) |
| XYZ | xyz(18.8604, 10.8110, 7.5708) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.47
Purplish Red
#B0054B
ΔE00 3.56
Rouge
#AB1239
ΔE00 4.19
Light Burgundy
#A8415B
ΔE00 4.82
Rose Red
#BE013C
ΔE00 5.21
Cranberry
#9E003A
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A4A #2AAB8B
analogous
#AB2A8B #AB2A4A #AB4B2A
triadic
#AB2A4A #4AAB2A #2A4AAB
tetradic
#AB2A4A #8BAB2A #2AAB8B #4B2AAB
square
#AB2A4A #8BAB2A #2AAB8B #4B2AAB
split-complementary
#AB2A4A #2AAB4B #2A8BAB
monochromatic
#49121F #7A1E35 #AB2A4A #D14265 #DD738D
Accessibility & contrast
On white
6.64
#AB2A4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2A4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A4A
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A4A | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4C4A
Deuteranopia (green-blind)
#6D6647
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a4a; /* rgb */ color: rgb(171, 42, 74); /* oklch */ color: oklch(49.7% 0.165 11.4);
Tailwind
colors: {
custom: {
50: '#ca6f7c',
500: '#ab2a4a',
950: '#000000',
},
}SCSS
$custom: #ab2a4a; $custom-light: #ca6f7c; $custom-dark: #000000;
JSON
{
"hex": "#ab2a4a",
"rgb": {
"r": 171,
"g": 42,
"b": 74
},
"hsl": {
"h": 345.116,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49744,
"c": 0.16497,
"h": 11.4
},
"luminance": 0.10808
}Semantic roles & 50–950 ramp
primary
#AB2A4A
secondary
#6DC4AE
accent
#E4BC44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B