#A8311B#A8311B
#A8311B is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.1% C 0.159 H 32.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A8311B |
|---|---|
| RGB | rgb(168, 49, 27) |
| HSL | hsl(9, 72%, 38%) |
| HSV | hsv(9, 84%, 66%) |
| CMYK | cmyk(0%, 70.8%, 83.9%, 34.1%) |
| CIE-LAB | lab(38.90, 47.50, 40.48) |
| CIE-LCH | lch(38.90, 62.41, 40.44°) |
| OKLab | oklab(49.15% 0.1338 0.0858) |
| OKLCH | oklch(49.15% 0.159 32.7) |
| XYZ | xyz(17.4467, 10.6033, 2.1647) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.11
Brownish Red
#9E3623
ΔE00 2.42
Rusty Red
#AF2F0D
ΔE00 2.90
Rust Red
#AA2704
ΔE00 3.27
Burnt Red
#9F2305
ΔE00 3.87
Firebrick
#B22222
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8311B #1B92A8
analogous
#A81B4B #A8311B #A8771B
triadic
#A8311B #1BA831 #311BA8
tetradic
#A8311B #4BA81B #1B92A8 #771BA8
square
#A8311B #4BA81B #1B92A8 #771BA8
split-complementary
#A8311B #1BA877 #1B4BA8
monochromatic
#3F120A #732213 #A8311B #DC4124 #E46F59
Accessibility & contrast
On white
6.73
#A8311B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#A8311B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8311B
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8311B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8311B | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B17
Deuteranopia (green-blind)
#726515
Tritanopia (blue-blind)
#B9002D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a8311b; /* rgb */ color: rgb(168, 49, 27); /* oklch */ color: oklch(49.1% 0.159 32.7);
Tailwind
colors: {
custom: {
50: '#cb715a',
500: '#a8311b',
950: '#000000',
},
}SCSS
$custom: #a8311b; $custom-light: #cb715a; $custom-dark: #000000;
JSON
{
"hex": "#a8311b",
"rgb": {
"r": 168,
"g": 49,
"b": 27
},
"hsl": {
"h": 9.362,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.49146,
"c": 0.15893,
"h": 32.7
},
"luminance": 0.10601
}Semantic roles & 50–950 ramp
primary
#A8311B
secondary
#57B6C8
accent
#D3EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79