#8A1F1E#8A1F1E
#8A1F1E is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.143 H 26.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F1E |
|---|---|
| RGB | rgb(138, 31, 30) |
| HSL | hsl(1, 64%, 33%) |
| HSV | hsv(1, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 78.3%, 45.9%) |
| CIE-LAB | lab(30.59, 44.36, 28.56) |
| CIE-LCH | lch(30.59, 52.76, 32.77°) |
| OKLab | oklab(41.88% 0.128 0.0634) |
| OKLCH | oklch(41.88% 0.143 26.3) |
| XYZ | xyz(11.2069, 6.4787, 1.8885) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.31
Carmine
#9D0216
ΔE00 4.03
Indian Red
#850E04
ΔE00 5.20
Dark Red
#840000
ΔE00 5.52
Darkred
#8B0000
ΔE00 5.55
Maroon
#800000
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F1E #1E898A
analogous
#8A1E53 #8A1F1E #8A551E
triadic
#8A1F1E #1E8A1F #1F1E8A
tetradic
#8A1F1E #538A1E #1E898A #551E8A
square
#8A1F1E #538A1E #1E898A #551E8A
split-complementary
#8A1F1E #1E8A55 #1E538A
monochromatic
#250808 #581413 #8A1F1E #BC2A29 #D84C4B
Accessibility & contrast
On white
9.15
#8A1F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F1E
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F1E | 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)
#3F391D
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f1e; /* rgb */ color: rgb(138, 31, 30); /* oklch */ color: oklch(41.9% 0.143 26.3);
Tailwind
colors: {
custom: {
50: '#b4645a',
500: '#8a1f1e',
950: '#000000',
},
}SCSS
$custom: #8a1f1e; $custom-light: #b4645a; $custom-dark: #000000;
JSON
{
"hex": "#8a1f1e",
"rgb": {
"r": 138,
"g": 31,
"b": 30
},
"hsl": {
"h": 0.556,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.41875,
"c": 0.1428,
"h": 26.3
},
"luminance": 0.06477
}Semantic roles & 50–950 ramp
primary
#8A1F1E
secondary
#4AB9BA
accent
#E6E741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79