#AB2A47#AB2A47
#AB2A47 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.165 H 12.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A47 |
|---|---|
| RGB | rgb(171, 42, 71) |
| HSL | hsl(347, 61%, 42%) |
| HSV | hsv(347, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 58.5%, 32.9%) |
| CIE-LAB | lab(39.19, 53.23, 14.85) |
| CIE-LCH | lch(39.19, 55.26, 15.58°) |
| OKLab | oklab(49.67% 0.1605 0.0369) |
| OKLCH | oklch(49.67% 0.165 12.9) |
| XYZ | xyz(18.7617, 10.7715, 7.0512) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.47
Raspberry (survey)
#B00149
ΔE00 4.04
Purplish Red
#B0054B
ΔE00 4.22
Rose Red
#BE013C
ΔE00 4.56
Cranberry
#9E003A
ΔE00 5.30
Light Burgundy
#A8415B
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A47 #2AAB8E
analogous
#AB2A87 #AB2A47 #AB4E2A
triadic
#AB2A47 #47AB2A #2A47AB
tetradic
#AB2A47 #87AB2A #2AAB8E #4E2AAB
square
#AB2A47 #87AB2A #2AAB8E #4E2AAB
split-complementary
#AB2A47 #2AAB4E #2A87AB
monochromatic
#49121E #7A1E33 #AB2A47 #D14262 #DD738B
Accessibility & contrast
On white
6.66
#AB2A47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AB2A47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A47
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A47 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B47
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a47; /* rgb */ color: rgb(171, 42, 71); /* oklch */ color: oklch(49.7% 0.165 12.9);
Tailwind
colors: {
custom: {
50: '#cb6f79',
500: '#ab2a47',
950: '#000000',
},
}SCSS
$custom: #ab2a47; $custom-light: #cb6f79; $custom-dark: #000000;
JSON
{
"hex": "#ab2a47",
"rgb": {
"r": 171,
"g": 42,
"b": 71
},
"hsl": {
"h": 346.512,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49672,
"c": 0.16468,
"h": 12.9
},
"luminance": 0.10769
}Semantic roles & 50–950 ramp
primary
#AB2A47
secondary
#6DC4B0
accent
#E4C044
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B