#8A1F17#8A1F17
#8A1F17 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 29.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F17 |
|---|---|
| RGB | rgb(138, 31, 23) |
| HSL | hsl(4, 71%, 32%) |
| HSV | hsv(4, 83%, 54%) |
| CMYK | cmyk(0%, 77.5%, 83.3%, 45.9%) |
| CIE-LAB | lab(30.51, 44.11, 32.58) |
| CIE-LCH | lch(30.51, 54.84, 36.45°) |
| OKLab | oklab(41.79% 0.1257 0.0699) |
| OKLCH | oklch(41.79% 0.144 29.1) |
| XYZ | xyz(11.1272, 6.4469, 1.4689) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.93
Indian Red
#850E04
ΔE00 3.36
Darkred
#8B0000
ΔE00 3.80
Dark Red
#840000
ΔE00 4.02
Brick Red
#8F1402
ΔE00 4.03
Carmine
#9D0216
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F17 #17828A
analogous
#8A1749 #8A1F17 #8A5917
triadic
#8A1F17 #178A1F #1F178A
tetradic
#8A1F17 #498A17 #17828A #59178A
square
#8A1F17 #498A17 #17828A #59178A
split-complementary
#8A1F17 #178A59 #17498A
monochromatic
#210706 #56130E #8A1F17 #BE2B20 #DF483D
Accessibility & contrast
On white
9.17
#8A1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F17
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F17 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403915
Deuteranopia (green-blind)
#5A5012
Tritanopia (blue-blind)
#99001E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f17; /* rgb */ color: rgb(138, 31, 23); /* oklch */ color: oklch(41.8% 0.144 29.1);
Tailwind
colors: {
custom: {
50: '#b56455',
500: '#8a1f17',
950: '#000000',
},
}SCSS
$custom: #8a1f17; $custom-light: #b56455; $custom-dark: #000000;
JSON
{
"hex": "#8a1f17",
"rgb": {
"r": 138,
"g": 31,
"b": 23
},
"hsl": {
"h": 4.174,
"s": 71.429,
"l": 31.569
},
"oklch": {
"l": 0.41794,
"c": 0.14379,
"h": 29.1
},
"luminance": 0.06445
}Semantic roles & 50–950 ramp
primary
#8A1F17
secondary
#3FB5BE
accent
#E2EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78