#8F171F#8F171F
#8F171F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.154 H 24.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8F171F |
|---|---|
| RGB | rgb(143, 23, 31) |
| HSL | hsl(356, 72%, 33%) |
| HSV | hsv(356, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 78.3%, 43.9%) |
| CIE-LAB | lab(30.77, 48.43, 28.44) |
| CIE-LCH | lch(30.77, 56.16, 30.42°) |
| OKLab | oklab(42.2% 0.1404 0.063) |
| OKLCH | oklch(42.2% 0.154 24.2) |
| XYZ | xyz(11.8829, 6.5533, 1.9353) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.46
Carmine
#9D0216
ΔE00 3.49
Burgundy
#800020
ΔE00 5.44
Brown
#A52A2A
ΔE00 5.58
Indian Red
#850E04
ΔE00 6.21
Darkred
#8B0000
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F171F #178F87
analogous
#8F175B #8F171F #8F4B17
triadic
#8F171F #1F8F17 #171F8F
tetradic
#8F171F #5B8F17 #178F87 #4B178F
square
#8F171F #5B8F17 #178F87 #4B178F
split-complementary
#8F171F #178F4B #175B8F
monochromatic
#260608 #5A0F14 #8F171F #C41F2A #E0404B
Accessibility & contrast
On white
9.09
#8F171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8F171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F171F
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F171F | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#9E001C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8f171f; /* rgb */ color: rgb(143, 23, 31); /* oklch */ color: oklch(42.2% 0.154 24.2);
Tailwind
colors: {
custom: {
50: '#b8625b',
500: '#8f171f',
950: '#000000',
},
}SCSS
$custom: #8f171f; $custom-light: #b8625b; $custom-dark: #000000;
JSON
{
"hex": "#8f171f",
"rgb": {
"r": 143,
"g": 23,
"b": 31
},
"hsl": {
"h": 356,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42197,
"c": 0.15391,
"h": 24.2
},
"luminance": 0.06551
}Semantic roles & 50–950 ramp
primary
#8F171F
secondary
#41C1B8
accent
#EFE339
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79