#A8311F#A8311F
#A8311F is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.2% C 0.158 H 31.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A8311F |
|---|---|
| RGB | rgb(168, 49, 31) |
| HSL | hsl(8, 69%, 39%) |
| HSV | hsv(8, 82%, 66%) |
| CMYK | cmyk(0%, 70.8%, 81.5%, 34.1%) |
| CIE-LAB | lab(38.94, 47.62, 38.45) |
| CIE-LCH | lch(38.94, 61.21, 38.91°) |
| OKLab | oklab(49.18% 0.1349 0.0827) |
| OKLCH | oklch(49.18% 0.158 31.5) |
| XYZ | xyz(17.4961, 10.6231, 2.4253) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 1.72
Brownish Red
#9E3623
ΔE00 2.07
Firebrick
#B22222
ΔE00 3.62
Rusty Red
#AF2F0D
ΔE00 3.86
Rust Red
#AA2704
ΔE00 4.23
Burnt Red
#9F2305
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8311F #1F96A8
analogous
#A81F52 #A8311F #A8761F
triadic
#A8311F #1FA831 #311FA8
tetradic
#A8311F #52A81F #1F96A8 #761FA8
square
#A8311F #52A81F #1F96A8 #761FA8
split-complementary
#A8311F #1FA876 #1F52A8
monochromatic
#41130C #742215 #A8311F #D8432C #E27160
Accessibility & contrast
On white
6.72
#A8311F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#A8311F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8311F
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8311F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8311F | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B1C
Deuteranopia (green-blind)
#726519
Tritanopia (blue-blind)
#B9002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a8311f; /* rgb */ color: rgb(168, 49, 31); /* oklch */ color: oklch(49.2% 0.158 31.5);
Tailwind
colors: {
custom: {
50: '#cb715c',
500: '#a8311f',
950: '#000000',
},
}SCSS
$custom: #a8311f; $custom-light: #cb715c; $custom-dark: #000000;
JSON
{
"hex": "#a8311f",
"rgb": {
"r": 168,
"g": 49,
"b": 31
},
"hsl": {
"h": 7.883,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.49182,
"c": 0.15826,
"h": 31.5
},
"luminance": 0.1062
}Semantic roles & 50–950 ramp
primary
#A8311F
secondary
#5DB8C6
accent
#D5EC3C
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79