#8A311B#8A311B
#8A311B is a dark, vivid red. Relative luminance 0.077; OKLCH L 43.9% C 0.126 H 35.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A311B |
|---|---|
| RGB | rgb(138, 49, 27) |
| HSL | hsl(12, 67%, 32%) |
| HSV | hsv(12, 80%, 54%) |
| CMYK | cmyk(0%, 64.5%, 80.4%, 45.9%) |
| CIE-LAB | lab(33.31, 36.74, 33.15) |
| CIE-LCH | lch(33.31, 49.49, 42.06°) |
| OKLab | oklab(43.9% 0.1036 0.0725) |
| OKLCH | oklch(43.9% 0.126 35) |
| XYZ | xyz(11.7787, 7.6807, 1.8990) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 0.99
Reddish Brown
#7F2B0A
ΔE00 4.00
Brown Red
#922B05
ΔE00 4.18
Brownish Red
#9E3623
ΔE00 4.38
Brick
#A03623
ΔE00 4.76
Brick Red
#8F1402
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A311B #1B748A
analogous
#8A1B3C #8A311B #8A691B
triadic
#8A311B #1B8A31 #311B8A
tetradic
#8A311B #3C8A1B #1B748A #691B8A
square
#8A311B #3C8A1B #1B748A #691B8A
split-complementary
#8A311B #1B8A69 #1B3C8A
monochromatic
#240D07 #571F11 #8A311B #BD4325 #DB6345
Accessibility & contrast
On white
8.28
#8A311B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#8A311B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A311B
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A311B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A311B | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4218
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#981A2D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8a311b; /* rgb */ color: rgb(138, 49, 27); /* oklch */ color: oklch(43.9% 0.126 35.0);
Tailwind
colors: {
custom: {
50: '#b36d59',
500: '#8a311b',
950: '#000000',
},
}SCSS
$custom: #8a311b; $custom-light: #b36d59; $custom-dark: #000000;
JSON
{
"hex": "#8a311b",
"rgb": {
"r": 138,
"g": 49,
"b": 27
},
"hsl": {
"h": 11.892,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.43903,
"c": 0.12638,
"h": 35
},
"luminance": 0.07679
}Semantic roles & 50–950 ramp
primary
#8A311B
secondary
#45A4BC
accent
#C8EA3E
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120703
muted
#817A78