#A71F3F#A71F3F
#A71F3F is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.9% C 0.170 H 14.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F3F |
|---|---|
| RGB | rgb(167, 31, 63) |
| HSL | hsl(346, 69%, 39%) |
| HSV | hsv(346, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 62.3%, 34.5%) |
| CIE-LAB | lab(37.04, 54.90, 16.91) |
| CIE-LCH | lch(37.04, 57.44, 17.12°) |
| OKLab | oklab(47.88% 0.165 0.0413) |
| OKLCH | oklch(47.88% 0.17 14) |
| XYZ | xyz(17.3254, 9.5570, 5.6341) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.75
Cranberry
#9E003A
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 4.14
Rose Red
#BE013C
ΔE00 4.41
Purplish Red
#B0054B
ΔE00 4.50
Ruby
#CA0147
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F3F #1FA787
analogous
#A71F83 #A71F3F #A7431F
triadic
#A71F3F #3FA71F #1F3FA7
tetradic
#A71F3F #83A71F #1FA787 #431FA7
square
#A71F3F #83A71F #1FA787 #431FA7
split-complementary
#A71F3F #1FA743 #1F83A7
monochromatic
#400C18 #73152C #A71F3F #D82B54 #E15F7E
Accessibility & contrast
On white
7.21
#A71F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A71F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F3F
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F3F | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47453F
Deuteranopia (green-blind)
#69613B
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a71f3f; /* rgb */ color: rgb(167, 31, 63); /* oklch */ color: oklch(47.9% 0.170 14.0);
Tailwind
colors: {
custom: {
50: '#c86a73',
500: '#a71f3f',
950: '#000000',
},
}SCSS
$custom: #a71f3f; $custom-light: #c86a73; $custom-dark: #000000;
JSON
{
"hex": "#a71f3f",
"rgb": {
"r": 167,
"g": 31,
"b": 63
},
"hsl": {
"h": 345.882,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.47881,
"c": 0.17004,
"h": 14
},
"luminance": 0.09554
}Semantic roles & 50–950 ramp
primary
#A71F3F
secondary
#5CC6AD
accent
#ECC23C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140708
muted
#837A7B