#8A1F12#8A1F12
#8A1F12 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.144 H 30.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F12 |
|---|---|
| RGB | rgb(138, 31, 18) |
| HSL | hsl(7, 77%, 31%) |
| HSV | hsv(7, 87%, 54%) |
| CMYK | cmyk(0%, 77.5%, 87%, 45.9%) |
| CIE-LAB | lab(30.47, 43.97, 35.25) |
| CIE-LCH | lch(30.47, 56.35, 38.72°) |
| OKLab | oklab(41.75% 0.1243 0.0738) |
| OKLCH | oklch(41.75% 0.145 30.7) |
| XYZ | xyz(11.0818, 6.4287, 1.2295) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.56
Brick Red
#8F1402
ΔE00 2.75
Darkred
#8B0000
ΔE00 3.08
Red Brown
#8B2E16
ΔE00 3.34
Dark Red
#840000
ΔE00 3.52
Crimson (survey)
#8C000F
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F12 #127D8A
analogous
#8A1241 #8A1F12 #8A5B12
triadic
#8A1F12 #128A1F #1F128A
tetradic
#8A1F12 #418A12 #127D8A #5B128A
square
#8A1F12 #418A12 #127D8A #5B128A
split-complementary
#8A1F12 #128A5B #12418A
monochromatic
#1E0704 #54130B #8A1F12 #C02B19 #E44532
Accessibility & contrast
On white
9.19
#8A1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F12
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F12 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40390F
Deuteranopia (green-blind)
#5B500B
Tritanopia (blue-blind)
#99001D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f12; /* rgb */ color: rgb(138, 31, 18); /* oklch */ color: oklch(41.7% 0.144 30.7);
Tailwind
colors: {
custom: {
50: '#b56452',
500: '#8a1f12',
950: '#000000',
},
}SCSS
$custom: #8a1f12; $custom-light: #b56452; $custom-dark: #000000;
JSON
{
"hex": "#8a1f12",
"rgb": {
"r": 138,
"g": 31,
"b": 18
},
"hsl": {
"h": 6.5,
"s": 76.923,
"l": 30.588
},
"oklch": {
"l": 0.41748,
"c": 0.1445,
"h": 30.7
},
"luminance": 0.06427
}Semantic roles & 50–950 ramp
primary
#8A1F12
secondary
#39B0BF
accent
#DFF334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78