#A7311B#A7311B
#A7311B is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.0% C 0.158 H 32.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A7311B |
|---|---|
| RGB | rgb(167, 49, 27) |
| HSL | hsl(9, 72%, 38%) |
| HSV | hsv(9, 84%, 65%) |
| CMYK | cmyk(0%, 70.7%, 83.8%, 34.5%) |
| CIE-LAB | lab(38.71, 47.16, 40.24) |
| CIE-LCH | lch(38.71, 62.00, 40.47°) |
| OKLab | oklab(48.97% 0.1329 0.0853) |
| OKLCH | oklch(48.97% 0.158 32.7) |
| XYZ | xyz(17.2345, 10.4939, 2.1547) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 1.98
Brownish Red
#9E3623
ΔE00 2.27
Rusty Red
#AF2F0D
ΔE00 3.00
Rust Red
#AA2704
ΔE00 3.28
Burnt Red
#9F2305
ΔE00 3.76
Firebrick
#B22222
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7311B #1B91A7
analogous
#A71B4B #A7311B #A7771B
triadic
#A7311B #1BA731 #311BA7
tetradic
#A7311B #4BA71B #1B91A7 #771BA7
square
#A7311B #4BA71B #1B91A7 #771BA7
split-complementary
#A7311B #1BA777 #1B4BA7
monochromatic
#3E120A #722212 #A7311B #DC4124 #E46E58
Accessibility & contrast
On white
6.78
#A7311B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#A7311B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7311B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7311B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7311B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B17
Deuteranopia (green-blind)
#716515
Tritanopia (blue-blind)
#B8002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a7311b; /* rgb */ color: rgb(167, 49, 27); /* oklch */ color: oklch(49.0% 0.158 32.7);
Tailwind
colors: {
custom: {
50: '#ca715a',
500: '#a7311b',
950: '#000000',
},
}SCSS
$custom: #a7311b; $custom-light: #ca715a; $custom-dark: #000000;
JSON
{
"hex": "#a7311b",
"rgb": {
"r": 167,
"g": 49,
"b": 27
},
"hsl": {
"h": 9.429,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.48969,
"c": 0.15789,
"h": 32.7
},
"luminance": 0.10491
}Semantic roles & 50–950 ramp
primary
#A7311B
secondary
#56B6C8
accent
#D2EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79