#A71F1C#A71F1C
#A71F1C is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.172 H 27.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F1C |
|---|---|
| RGB | rgb(167, 31, 28) |
| HSL | hsl(1, 71%, 38%) |
| HSV | hsv(1, 83%, 65%) |
| CMYK | cmyk(0%, 81.4%, 83.2%, 34.5%) |
| CIE-LAB | lab(36.52, 53.31, 37.66) |
| CIE-LCH | lch(36.52, 65.27, 35.24°) |
| OKLab | oklab(47.34% 0.1522 0.08) |
| OKLCH | oklch(47.34% 0.172 27.7) |
| XYZ | xyz(16.6380, 9.2820, 2.0140) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.43
Brown
#A52A2A
ΔE00 3.06
Darkish Red
#A90308
ΔE00 3.23
Carmine
#9D0216
ΔE00 3.65
Brick
#A03623
ΔE00 3.98
Brownish Red
#9E3623
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F1C #1CA4A7
analogous
#A71C5E #A71F1C #A7641C
triadic
#A71F1C #1CA71F #1F1CA7
tetradic
#A71F1C #5EA71C #1CA4A7 #641CA7
square
#A71F1C #5EA71C #1CA4A7 #641CA7
split-complementary
#A71F1C #1CA764 #1C5EA7
monochromatic
#3E0C0A #731513 #A71F1C #DB2A26 #E35D5A
Accessibility & contrast
On white
7.35
#A71F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#A71F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F1C
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F1C | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#6C6015
Tritanopia (blue-blind)
#B80021
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a71f1c; /* rgb */ color: rgb(167, 31, 28); /* oklch */ color: oklch(47.3% 0.172 27.7);
Tailwind
colors: {
custom: {
50: '#cb6959',
500: '#a71f1c',
950: '#000000',
},
}SCSS
$custom: #a71f1c; $custom-light: #cb6959; $custom-dark: #000000;
JSON
{
"hex": "#a71f1c",
"rgb": {
"r": 167,
"g": 31,
"b": 28
},
"hsl": {
"h": 1.295,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.47336,
"c": 0.17195,
"h": 27.7
},
"luminance": 0.09279
}Semantic roles & 50–950 ramp
primary
#A71F1C
secondary
#58C5C7
accent
#EAEE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79