#8F172F#8F172F
#8F172F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.153 H 16.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8F172F |
|---|---|
| RGB | rgb(143, 23, 47) |
| HSL | hsl(348, 72%, 33%) |
| HSV | hsv(348, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 67.1%, 43.9%) |
| CIE-LAB | lab(31.02, 49.19, 18.49) |
| CIE-LCH | lch(31.02, 52.56, 20.60°) |
| OKLab | oklab(42.46% 0.1466 0.0441) |
| OKLCH | oklch(42.46% 0.153 16.7) |
| XYZ | xyz(12.1485, 6.6596, 3.3345) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 4.21
Burgundy
#800020
ΔE00 4.23
Cranberry
#9E003A
ΔE00 4.29
Wine Red
#7B0323
ΔE00 4.63
Rouge
#AB1239
ΔE00 5.38
Bordeaux
#7B002C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F172F #178F77
analogous
#8F176B #8F172F #8F3B17
triadic
#8F172F #2F8F17 #172F8F
tetradic
#8F172F #6B8F17 #178F77 #3B178F
square
#8F172F #6B8F17 #178F77 #3B178F
split-complementary
#8F172F #178F3B #176B8F
monochromatic
#26060C #5A0F1E #8F172F #C41F40 #E04060
Accessibility & contrast
On white
9.01
#8F172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F172F
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F172F | 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)
#3C392F
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f172f; /* rgb */ color: rgb(143, 23, 47); /* oklch */ color: oklch(42.5% 0.153 16.7);
Tailwind
colors: {
custom: {
50: '#b76267',
500: '#8f172f',
950: '#000000',
},
}SCSS
$custom: #8f172f; $custom-light: #b76267; $custom-dark: #000000;
JSON
{
"hex": "#8f172f",
"rgb": {
"r": 143,
"g": 23,
"b": 47
},
"hsl": {
"h": 348,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42463,
"c": 0.15312,
"h": 16.7
},
"luminance": 0.06658
}Semantic roles & 50–950 ramp
primary
#8F172F
secondary
#41C1A7
accent
#EFCB39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A