#A71F2D#A71F2D
#A71F2D is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.170 H 21.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F2D |
|---|---|
| RGB | rgb(167, 31, 45) |
| HSL | hsl(354, 69%, 39%) |
| HSV | hsv(354, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 73.1%, 34.5%) |
| CIE-LAB | lab(36.72, 53.93, 27.89) |
| CIE-LCH | lch(36.72, 60.71, 27.35°) |
| OKLab | oklab(47.55% 0.1579 0.0636) |
| OKLCH | oklch(47.55% 0.17 21.9) |
| XYZ | xyz(16.9020, 9.3876, 3.4042) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.71
Lipstick Red
#C0022F
ΔE00 4.42
Rouge
#AB1239
ΔE00 4.72
Firebrick
#B22222
ΔE00 4.95
Carmine
#9D0216
ΔE00 5.27
Rose Red
#BE013C
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F2D #1FA799
analogous
#A71F71 #A71F2D #A7551F
triadic
#A71F2D #2DA71F #1F2DA7
tetradic
#A71F2D #71A71F #1FA799 #551FA7
square
#A71F2D #71A71F #1FA799 #551FA7
split-complementary
#A71F2D #1FA755 #1F71A7
monochromatic
#400C11 #73151F #A71F2D #D82B3D #E15F6C
Accessibility & contrast
On white
7.30
#A71F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#A71F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F2D
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F2D | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A442C
Deuteranopia (green-blind)
#6B6128
Tritanopia (blue-blind)
#B80026
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a71f2d; /* rgb */ color: rgb(167, 31, 45); /* oklch */ color: oklch(47.5% 0.170 21.9);
Tailwind
colors: {
custom: {
50: '#ca6966',
500: '#a71f2d',
950: '#000000',
},
}SCSS
$custom: #a71f2d; $custom-light: #ca6966; $custom-dark: #000000;
JSON
{
"hex": "#a71f2d",
"rgb": {
"r": 167,
"g": 31,
"b": 45
},
"hsl": {
"h": 353.824,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.47546,
"c": 0.17024,
"h": 21.9
},
"luminance": 0.09385
}Semantic roles & 50–950 ramp
primary
#A71F2D
secondary
#5CC6BB
accent
#ECD93C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A