#AB474A#AB474A
#AB474A is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.1% C 0.132 H 20.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AB474A |
|---|---|
| RGB | rgb(171, 71, 74) |
| HSL | hsl(358, 41%, 47%) |
| HSV | hsv(358, 58%, 67%) |
| CMYK | cmyk(0%, 58.5%, 56.7%, 32.9%) |
| CIE-LAB | lab(43.74, 41.29, 19.08) |
| CIE-LCH | lch(43.74, 45.48, 24.80°) |
| OKLab | oklab(53.09% 0.123 0.047) |
| OKLCH | oklch(53.09% 0.132 20.9) |
| XYZ | xyz(20.2856, 13.6613, 8.0459) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.94
Dull Red
#BB3F3F
ΔE00 4.34
Light Maroon
#A24857
ΔE00 5.44
Dark Rose
#B5485D
ΔE00 6.00
Reddish
#C44240
ΔE00 6.02
Cardinal
#C41E3A
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB474A #47ABA8
analogous
#AB477C #AB474A #AB7647
triadic
#AB474A #4AAB47 #474AAB
tetradic
#AB474A #7CAB47 #47ABA8 #7647AB
square
#AB474A #7CAB47 #47ABA8 #7647AB
split-complementary
#AB474A #47AB76 #477CAB
monochromatic
#552325 #803537 #AB474A #C26D6F #D4989A
Accessibility & contrast
On white
5.63
#AB474A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#AB474A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB474A
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB474A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB474A | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5A49
Deuteranopia (green-blind)
#786F48
Tritanopia (blue-blind)
#BB3649
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ab474a; /* rgb */ color: rgb(171, 71, 74); /* oklch */ color: oklch(53.1% 0.132 20.9);
Tailwind
colors: {
custom: {
50: '#c97e7c',
500: '#ab474a',
950: '#000000',
},
}SCSS
$custom: #ab474a; $custom-light: #c97e7c; $custom-dark: #000000;
JSON
{
"hex": "#ab474a",
"rgb": {
"r": 171,
"g": 71,
"b": 74
},
"hsl": {
"h": 358.2,
"s": 41.322,
"l": 47.451
},
"oklch": {
"l": 0.53092,
"c": 0.13169,
"h": 20.9
},
"luminance": 0.13659
}Semantic roles & 50–950 ramp
primary
#AB474A
secondary
#8DC0BF
accent
#D1CD57
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A09
muted
#837C7B