#8F171B#8F171B
#8F171B is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.154 H 25.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F171B |
|---|---|
| RGB | rgb(143, 23, 27) |
| HSL | hsl(358, 72%, 33%) |
| HSV | hsv(358, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 81.1%, 43.9%) |
| CIE-LAB | lab(30.72, 48.29, 30.81) |
| CIE-LCH | lch(30.72, 57.28, 32.54°) |
| OKLab | oklab(42.15% 0.1391 0.0669) |
| OKLCH | oklch(42.15% 0.154 25.7) |
| XYZ | xyz(11.8334, 6.5335, 1.6747) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.52
Carmine
#9D0216
ΔE00 2.83
Indian Red
#850E04
ΔE00 5.03
Darkred
#8B0000
ΔE00 5.07
Dark Red
#840000
ΔE00 5.22
Blood Red
#980002
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F171B #178F8B
analogous
#8F1757 #8F171B #8F4F17
triadic
#8F171B #1B8F17 #171B8F
tetradic
#8F171B #578F17 #178F8B #4F178F
square
#8F171B #578F17 #178F8B #4F178F
split-complementary
#8F171B #178F4F #17578F
monochromatic
#260607 #5A0F11 #8F171B #C41F25 #E04045
Accessibility & contrast
On white
9.11
#8F171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8F171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F171B
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F171B | 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)
#3E381A
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#9E001A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8f171b; /* rgb */ color: rgb(143, 23, 27); /* oklch */ color: oklch(42.1% 0.154 25.7);
Tailwind
colors: {
custom: {
50: '#b96258',
500: '#8f171b',
950: '#000000',
},
}SCSS
$custom: #8f171b; $custom-light: #b96258; $custom-dark: #000000;
JSON
{
"hex": "#8f171b",
"rgb": {
"r": 143,
"g": 23,
"b": 27
},
"hsl": {
"h": 358,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42147,
"c": 0.15432,
"h": 25.7
},
"luminance": 0.06532
}Semantic roles & 50–950 ramp
primary
#8F171B
secondary
#41C1BC
accent
#EFE939
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78