#8F171A#8F171A
#8F171A is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.154 H 26.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F171A |
|---|---|
| RGB | rgb(143, 23, 26) |
| HSL | hsl(359, 72%, 33%) |
| HSV | hsv(359, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 81.8%, 43.9%) |
| CIE-LAB | lab(30.71, 48.25, 31.40) |
| CIE-LCH | lch(30.71, 57.57, 33.05°) |
| OKLab | oklab(42.14% 0.1387 0.0678) |
| OKLCH | oklch(42.14% 0.154 26.1) |
| XYZ | xyz(11.8220, 6.5289, 1.6148) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.35
Carmine
#9D0216
ΔE00 2.74
Indian Red
#850E04
ΔE00 4.76
Darkred
#8B0000
ΔE00 4.78
Dark Red
#840000
ΔE00 4.97
Blood Red
#980002
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F171A #178F8C
analogous
#8F1756 #8F171A #8F5017
triadic
#8F171A #1A8F17 #171A8F
tetradic
#8F171A #568F17 #178F8C #50178F
square
#8F171A #568F17 #178F8C #50178F
split-complementary
#8F171A #178F50 #17568F
monochromatic
#260607 #5A0F10 #8F171A #C41F24 #E04044
Accessibility & contrast
On white
9.11
#8F171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8F171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F171A
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F171A | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3818
Deuteranopia (green-blind)
#5C5114
Tritanopia (blue-blind)
#9E001A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8f171a; /* rgb */ color: rgb(143, 23, 26); /* oklch */ color: oklch(42.1% 0.154 26.1);
Tailwind
colors: {
custom: {
50: '#b96257',
500: '#8f171a',
950: '#000000',
},
}SCSS
$custom: #8f171a; $custom-light: #b96257; $custom-dark: #000000;
JSON
{
"hex": "#8f171a",
"rgb": {
"r": 143,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42135,
"c": 0.15443,
"h": 26.1
},
"luminance": 0.06527
}Semantic roles & 50–950 ramp
primary
#8F171A
secondary
#41C1BE
accent
#EFEA39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78