#8F172E#8F172E
#8F172E is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.153 H 17.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8F172E |
|---|---|
| RGB | rgb(143, 23, 46) |
| HSL | hsl(349, 72%, 33%) |
| HSV | hsv(349, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 67.8%, 43.9%) |
| CIE-LAB | lab(31.00, 49.14, 19.13) |
| CIE-LCH | lch(31.00, 52.73, 21.27°) |
| OKLab | oklab(42.44% 0.1462 0.0454) |
| OKLCH | oklch(42.44% 0.153 17.2) |
| XYZ | xyz(12.1286, 6.6516, 3.2295) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.10
Red Wine
#8C0034
ΔE00 4.53
Cranberry
#9E003A
ΔE00 4.57
Wine Red
#7B0323
ΔE00 4.63
Rouge
#AB1239
ΔE00 5.43
Bordeaux
#7B002C
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F172E #178F78
analogous
#8F176A #8F172E #8F3C17
triadic
#8F172E #2E8F17 #172E8F
tetradic
#8F172E #6A8F17 #178F78 #3C178F
square
#8F172E #6A8F17 #178F78 #3C178F
split-complementary
#8F172E #178F3C #176A8F
monochromatic
#26060C #5A0F1D #8F172E #C41F3F #E0405F
Accessibility & contrast
On white
9.01
#8F172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F172E
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F172E | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f172e; /* rgb */ color: rgb(143, 23, 46); /* oklch */ color: oklch(42.4% 0.153 17.2);
Tailwind
colors: {
custom: {
50: '#b76266',
500: '#8f172e',
950: '#000000',
},
}SCSS
$custom: #8f172e; $custom-light: #b76266; $custom-dark: #000000;
JSON
{
"hex": "#8f172e",
"rgb": {
"r": 143,
"g": 23,
"b": 46
},
"hsl": {
"h": 348.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42443,
"c": 0.15311,
"h": 17.2
},
"luminance": 0.0665
}Semantic roles & 50–950 ramp
primary
#8F172E
secondary
#41C1A8
accent
#EFCC39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A