#8A2312#8A2312
#8A2312 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 32.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2312 |
|---|---|
| RGB | rgb(138, 35, 18) |
| HSL | hsl(9, 77%, 31%) |
| HSV | hsv(9, 87%, 54%) |
| CMYK | cmyk(0%, 74.6%, 87%, 45.9%) |
| CIE-LAB | lab(31.00, 42.50, 35.72) |
| CIE-LCH | lch(31.00, 55.51, 40.04°) |
| OKLab | oklab(42.14% 0.1197 0.0748) |
| OKLCH | oklch(42.14% 0.141 32) |
| XYZ | xyz(11.1928, 6.6508, 1.2665) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.44
Brick Red
#8F1402
ΔE00 2.62
Indian Red
#850E04
ΔE00 3.01
Darkred
#8B0000
ΔE00 3.58
Blood Red
#980002
ΔE00 3.87
Deep Red
#9A0200
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2312 #12798A
analogous
#8A123D #8A2312 #8A5F12
triadic
#8A2312 #128A23 #23128A
tetradic
#8A2312 #3D8A12 #12798A #5F128A
square
#8A2312 #3D8A12 #12798A #5F128A
split-complementary
#8A2312 #128A5F #123D8A
monochromatic
#1E0804 #54150B #8A2312 #C03119 #E44B32
Accessibility & contrast
On white
9.01
#8A2312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A2312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2312
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2312 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#5C510C
Tritanopia (blue-blind)
#990020
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a2312; /* rgb */ color: rgb(138, 35, 18); /* oklch */ color: oklch(42.1% 0.141 32.0);
Tailwind
colors: {
custom: {
50: '#b56652',
500: '#8a2312',
950: '#000000',
},
}SCSS
$custom: #8a2312; $custom-light: #b56652; $custom-dark: #000000;
JSON
{
"hex": "#8a2312",
"rgb": {
"r": 138,
"g": 35,
"b": 18
},
"hsl": {
"h": 8.5,
"s": 76.923,
"l": 30.588
},
"oklch": {
"l": 0.42143,
"c": 0.14115,
"h": 32
},
"luminance": 0.06649
}Semantic roles & 50–950 ramp
primary
#8A2312
secondary
#39ACBF
accent
#D8F334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78