#8F171D#8F171D
#8F171D is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.2% C 0.154 H 24.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8F171D |
|---|---|
| RGB | rgb(143, 23, 29) |
| HSL | hsl(357, 72%, 33%) |
| HSV | hsv(357, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 79.7%, 43.9%) |
| CIE-LAB | lab(30.74, 48.35, 29.64) |
| CIE-LCH | lch(30.74, 56.71, 31.50°) |
| OKLab | oklab(42.17% 0.1397 0.065) |
| OKLCH | oklch(42.17% 0.154 24.9) |
| XYZ | xyz(11.8573, 6.5431, 1.8008) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.95
Carmine
#9D0216
ΔE00 3.10
Brown
#A52A2A
ΔE00 5.54
Indian Red
#850E04
ΔE00 5.61
Darkred
#8B0000
ΔE00 5.66
Dark Red
#840000
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F171D #178F89
analogous
#8F1759 #8F171D #8F4D17
triadic
#8F171D #1D8F17 #171D8F
tetradic
#8F171D #598F17 #178F89 #4D178F
square
#8F171D #598F17 #178F89 #4D178F
split-complementary
#8F171D #178F4D #17598F
monochromatic
#260608 #5A0F12 #8F171D #C41F28 #E04048
Accessibility & contrast
On white
9.10
#8F171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8F171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F171D
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F171D | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#9E001B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8f171d; /* rgb */ color: rgb(143, 23, 29); /* oklch */ color: oklch(42.2% 0.154 24.9);
Tailwind
colors: {
custom: {
50: '#b96259',
500: '#8f171d',
950: '#000000',
},
}SCSS
$custom: #8f171d; $custom-light: #b96259; $custom-dark: #000000;
JSON
{
"hex": "#8f171d",
"rgb": {
"r": 143,
"g": 23,
"b": 29
},
"hsl": {
"h": 357,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42171,
"c": 0.15411,
"h": 24.9
},
"luminance": 0.06541
}Semantic roles & 50–950 ramp
primary
#8F171D
secondary
#41C1BA
accent
#EFE639
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78