#8F172C#8F172C
#8F172C is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 18.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8F172C |
|---|---|
| RGB | rgb(143, 23, 44) |
| HSL | hsl(350, 72%, 33%) |
| HSV | hsv(350, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 69.2%, 43.9%) |
| CIE-LAB | lab(30.96, 49.03, 20.39) |
| CIE-LCH | lch(30.96, 53.10, 22.58°) |
| OKLab | oklab(42.41% 0.1454 0.048) |
| OKLCH | oklch(42.41% 0.153 18.3) |
| XYZ | xyz(12.0901, 6.6362, 3.0267) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.92
Wine Red
#7B0323
ΔE00 4.71
Cranberry
#9E003A
ΔE00 5.16
Red Wine
#8C0034
ΔE00 5.18
Rouge
#AB1239
ΔE00 5.59
Bordeaux
#7B002C
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F172C #178F7A
analogous
#8F1768 #8F172C #8F3E17
triadic
#8F172C #2C8F17 #172C8F
tetradic
#8F172C #688F17 #178F7A #3E178F
square
#8F172C #688F17 #178F7A #3E178F
split-complementary
#8F172C #178F3E #17688F
monochromatic
#26060C #5A0F1C #8F172C #C41F3C #E0405C
Accessibility & contrast
On white
9.03
#8F172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F172C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F172C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392C
Deuteranopia (green-blind)
#5A5228
Tritanopia (blue-blind)
#9E0021
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f172c; /* rgb */ color: rgb(143, 23, 44); /* oklch */ color: oklch(42.4% 0.153 18.3);
Tailwind
colors: {
custom: {
50: '#b76264',
500: '#8f172c',
950: '#000000',
},
}SCSS
$custom: #8f172c; $custom-light: #b76264; $custom-dark: #000000;
JSON
{
"hex": "#8f172c",
"rgb": {
"r": 143,
"g": 23,
"b": 44
},
"hsl": {
"h": 349.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42405,
"c": 0.15312,
"h": 18.3
},
"luminance": 0.06634
}Semantic roles & 50–950 ramp
primary
#8F172C
secondary
#41C1AA
accent
#EFCF39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A