#A71E31#A71E31
#A71E31 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.171 H 20.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A71E31 |
|---|---|
| RGB | rgb(167, 30, 49) |
| HSL | hsl(352, 70%, 39%) |
| HSV | hsv(352, 82%, 65%) |
| CMYK | cmyk(0%, 82%, 70.7%, 34.5%) |
| CIE-LAB | lab(36.68, 54.39, 25.36) |
| CIE-LCH | lch(36.68, 60.01, 25.00°) |
| OKLab | oklab(47.54% 0.1603 0.0588) |
| OKLCH | oklch(47.54% 0.171 20.1) |
| XYZ | xyz(16.9570, 9.3685, 3.8206) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.34
Brown
#A52A2A
ΔE00 4.00
Lipstick Red
#C0022F
ΔE00 4.58
Rose Red
#BE013C
ΔE00 4.90
Cardinal
#C41E3A
ΔE00 5.79
Firebrick
#B22222
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71E31 #1EA794
analogous
#A71E75 #A71E31 #A74F1E
triadic
#A71E31 #31A71E #1E31A7
tetradic
#A71E31 #75A71E #1EA794 #4F1EA7
square
#A71E31 #75A71E #1EA794 #4F1EA7
split-complementary
#A71E31 #1EA74F #1E75A7
monochromatic
#3F0B13 #731522 #A71E31 #D92A42 #E25D70
Accessibility & contrast
On white
7.31
#A71E31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#A71E31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71E31
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71E31 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494431
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a71e31; /* rgb */ color: rgb(167, 30, 49); /* oklch */ color: oklch(47.5% 0.171 20.1);
Tailwind
colors: {
custom: {
50: '#c96969',
500: '#a71e31',
950: '#000000',
},
}SCSS
$custom: #a71e31; $custom-light: #c96969; $custom-dark: #000000;
JSON
{
"hex": "#a71e31",
"rgb": {
"r": 167,
"g": 30,
"b": 49
},
"hsl": {
"h": 351.679,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.47539,
"c": 0.17073,
"h": 20.1
},
"luminance": 0.09366
}Semantic roles & 50–950 ramp
primary
#A71E31
secondary
#5BC6B7
accent
#ECD43B
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A