#8F172B#8F172B
#8F172B is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 18.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8F172B |
|---|---|
| RGB | rgb(143, 23, 43) |
| HSL | hsl(350, 72%, 33%) |
| HSV | hsv(350, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 69.9%, 43.9%) |
| CIE-LAB | lab(30.95, 48.97, 21.02) |
| CIE-LCH | lch(30.95, 53.29, 23.23°) |
| OKLab | oklab(42.39% 0.145 0.0492) |
| OKLCH | oklch(42.39% 0.153 18.8) |
| XYZ | xyz(12.0715, 6.6288, 2.9289) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.87
Wine Red
#7B0323
ΔE00 4.78
Cranberry
#9E003A
ΔE00 5.47
Red Wine
#8C0034
ΔE00 5.51
Rouge
#AB1239
ΔE00 5.71
Bordeaux
#7B002C
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F172B #178F7B
analogous
#8F1767 #8F172B #8F3F17
triadic
#8F172B #2B8F17 #172B8F
tetradic
#8F172B #678F17 #178F7B #3F178F
square
#8F172B #678F17 #178F7B #3F178F
split-complementary
#8F172B #178F3F #17678F
monochromatic
#26060B #5A0F1B #8F172B #C41F3B #E0405B
Accessibility & contrast
On white
9.03
#8F172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F172B
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F172B | 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)
#3C392B
Deuteranopia (green-blind)
#5A5227
Tritanopia (blue-blind)
#9E0020
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f172b; /* rgb */ color: rgb(143, 23, 43); /* oklch */ color: oklch(42.4% 0.153 18.8);
Tailwind
colors: {
custom: {
50: '#b76264',
500: '#8f172b',
950: '#000000',
},
}SCSS
$custom: #8f172b; $custom-light: #b76264; $custom-dark: #000000;
JSON
{
"hex": "#8f172b",
"rgb": {
"r": 143,
"g": 23,
"b": 43
},
"hsl": {
"h": 350,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42386,
"c": 0.15314,
"h": 18.8
},
"luminance": 0.06627
}Semantic roles & 50–950 ramp
primary
#8F172B
secondary
#41C1AB
accent
#EFD139
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79