#8A2012#8A2012
#8A2012 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.144 H 31.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2012 |
|---|---|
| RGB | rgb(138, 32, 18) |
| HSL | hsl(7, 77%, 31%) |
| HSV | hsv(7, 87%, 54%) |
| CMYK | cmyk(0%, 76.8%, 87%, 45.9%) |
| CIE-LAB | lab(30.60, 43.61, 35.36) |
| CIE-LCH | lch(30.60, 56.15, 39.04°) |
| OKLab | oklab(41.84% 0.1232 0.074) |
| OKLCH | oklch(41.84% 0.144 31) |
| XYZ | xyz(11.1083, 6.4817, 1.2384) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.65
Brick Red
#8F1402
ΔE00 2.69
Red Brown
#8B2E16
ΔE00 3.13
Darkred
#8B0000
ΔE00 3.18
Blood Red
#980002
ΔE00 3.64
Dark Red
#840000
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2012 #127C8A
analogous
#8A1240 #8A2012 #8A5C12
triadic
#8A2012 #128A20 #20128A
tetradic
#8A2012 #408A12 #127C8A #5C128A
square
#8A2012 #408A12 #127C8A #5C128A
split-complementary
#8A2012 #128A5C #12408A
monochromatic
#1E0704 #54130B #8A2012 #C02D19 #E44732
Accessibility & contrast
On white
9.15
#8A2012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A2012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2012
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2012 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41390F
Deuteranopia (green-blind)
#5B500B
Tritanopia (blue-blind)
#99001E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a2012; /* rgb */ color: rgb(138, 32, 18); /* oklch */ color: oklch(41.8% 0.144 31.0);
Tailwind
colors: {
custom: {
50: '#b56452',
500: '#8a2012',
950: '#000000',
},
}SCSS
$custom: #8a2012; $custom-light: #b56452; $custom-dark: #000000;
JSON
{
"hex": "#8a2012",
"rgb": {
"r": 138,
"g": 32,
"b": 18
},
"hsl": {
"h": 7,
"s": 76.923,
"l": 30.588
},
"oklch": {
"l": 0.41843,
"c": 0.14368,
"h": 31
},
"luminance": 0.0648
}Semantic roles & 50–950 ramp
primary
#8A2012
secondary
#39AFBF
accent
#DDF334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78