#8C1817#8C1817
#8C1817 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.151 H 27.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1817 |
|---|---|
| RGB | rgb(140, 24, 23) |
| HSL | hsl(1, 72%, 32%) |
| HSV | hsv(1, 84%, 55%) |
| CMYK | cmyk(0%, 82.9%, 83.6%, 45.1%) |
| CIE-LAB | lab(30.14, 46.97, 32.36) |
| CIE-LCH | lch(30.14, 57.04, 34.57°) |
| OKLab | oklab(41.59% 0.1344 0.0691) |
| OKLCH | oklch(41.59% 0.151 27.2) |
| XYZ | xyz(11.2979, 6.2924, 1.4301) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 1.97
Carmine
#9D0216
ΔE00 3.24
Indian Red
#850E04
ΔE00 3.78
Darkred
#8B0000
ΔE00 3.95
Dark Red
#840000
ΔE00 4.09
Maroon
#800000
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1817 #178B8C
analogous
#8C1751 #8C1817 #8C5317
triadic
#8C1817 #178C18 #18178C
tetradic
#8C1817 #518C17 #178B8C #53178C
square
#8C1817 #518C17 #178B8C #53178C
split-complementary
#8C1817 #178C53 #17518C
monochromatic
#230606 #570F0E #8C1817 #C12120 #DF3F3E
Accessibility & contrast
On white
9.30
#8C1817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#8C1817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1817
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1817 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#5A5011
Tritanopia (blue-blind)
#9B001A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8c1817; /* rgb */ color: rgb(140, 24, 23); /* oklch */ color: oklch(41.6% 0.151 27.2);
Tailwind
colors: {
custom: {
50: '#b76255',
500: '#8c1817',
950: '#000000',
},
}SCSS
$custom: #8c1817; $custom-light: #b76255; $custom-dark: #000000;
JSON
{
"hex": "#8c1817",
"rgb": {
"r": 140,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.513,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.4159,
"c": 0.15115,
"h": 27.2
},
"luminance": 0.06291
}Semantic roles & 50–950 ramp
primary
#8C1817
secondary
#3FBEBF
accent
#EDEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78