#8A1E12#8A1E12
#8A1E12 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.145 H 30.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E12 |
|---|---|
| RGB | rgb(138, 30, 18) |
| HSL | hsl(6, 77%, 31%) |
| HSV | hsv(6, 87%, 54%) |
| CMYK | cmyk(0%, 78.3%, 87%, 45.9%) |
| CIE-LAB | lab(30.35, 44.31, 35.14) |
| CIE-LCH | lch(30.35, 56.55, 38.41°) |
| OKLab | oklab(41.66% 0.1253 0.0735) |
| OKLCH | oklch(41.66% 0.145 30.4) |
| XYZ | xyz(11.0561, 6.3773, 1.2209) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.50
Brick Red
#8F1402
ΔE00 2.82
Darkred
#8B0000
ΔE00 3.00
Crimson (survey)
#8C000F
ΔE00 3.33
Dark Red
#840000
ΔE00 3.41
Red Brown
#8B2E16
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E12 #127E8A
analogous
#8A1242 #8A1E12 #8A5A12
triadic
#8A1E12 #128A1E #1E128A
tetradic
#8A1E12 #428A12 #127E8A #5A128A
square
#8A1E12 #428A12 #127E8A #5A128A
split-complementary
#8A1E12 #128A5A #12428A
monochromatic
#1E0604 #54120B #8A1E12 #C02A19 #E44432
Accessibility & contrast
On white
9.23
#8A1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#8A1E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E12
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E12 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40380F
Deuteranopia (green-blind)
#5A500B
Tritanopia (blue-blind)
#99001D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1e12; /* rgb */ color: rgb(138, 30, 18); /* oklch */ color: oklch(41.7% 0.145 30.4);
Tailwind
colors: {
custom: {
50: '#b56452',
500: '#8a1e12',
950: '#000000',
},
}SCSS
$custom: #8a1e12; $custom-light: #b56452; $custom-dark: #000000;
JSON
{
"hex": "#8a1e12",
"rgb": {
"r": 138,
"g": 30,
"b": 18
},
"hsl": {
"h": 6,
"s": 76.923,
"l": 30.588
},
"oklch": {
"l": 0.41655,
"c": 0.1453,
"h": 30.4
},
"luminance": 0.06375
}Semantic roles & 50–950 ramp
primary
#8A1E12
secondary
#39B1BF
accent
#E0F334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78