#A71F1E#A71F1E
#A71F1E is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.172 H 27.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F1E |
|---|---|
| RGB | rgb(167, 31, 30) |
| HSL | hsl(0, 70%, 39%) |
| HSV | hsv(0, 82%, 65%) |
| CMYK | cmyk(0%, 81.4%, 82%, 34.5%) |
| CIE-LAB | lab(36.54, 53.37, 36.58) |
| CIE-LCH | lch(36.54, 64.70, 34.43°) |
| OKLab | oklab(47.36% 0.1528 0.0783) |
| OKLCH | oklch(47.36% 0.172 27.1) |
| XYZ | xyz(16.6627, 9.2919, 2.1442) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.32
Brown
#A52A2A
ΔE00 2.59
Carmine
#9D0216
ΔE00 3.51
Darkish Red
#A90308
ΔE00 3.69
Scarlet
#BE0119
ΔE00 4.12
Brick
#A03623
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F1E #1EA6A7
analogous
#A71E61 #A71F1E #A7631E
triadic
#A71F1E #1EA71F #1F1EA7
tetradic
#A71F1E #61A71E #1EA6A7 #631EA7
square
#A71F1E #61A71E #1EA6A7 #631EA7
split-complementary
#A71F1E #1EA763 #1E61A7
monochromatic
#3F0C0B #731515 #A71F1E #D92B2A #E25E5D
Accessibility & contrast
On white
7.35
#A71F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#A71F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F1E
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F1E | 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)
#4B431C
Deuteranopia (green-blind)
#6C6017
Tritanopia (blue-blind)
#B80021
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a71f1e; /* rgb */ color: rgb(167, 31, 30); /* oklch */ color: oklch(47.4% 0.172 27.1);
Tailwind
colors: {
custom: {
50: '#cb695b',
500: '#a71f1e',
950: '#000000',
},
}SCSS
$custom: #a71f1e; $custom-light: #cb695b; $custom-dark: #000000;
JSON
{
"hex": "#a71f1e",
"rgb": {
"r": 167,
"g": 31,
"b": 30
},
"hsl": {
"h": 0.438,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.47356,
"c": 0.17173,
"h": 27.1
},
"luminance": 0.09289
}Semantic roles & 50–950 ramp
primary
#A71F1E
secondary
#5BC5C6
accent
#EBEC3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79