#8F172D#8F172D
#8F172D is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 17.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8F172D |
|---|---|
| RGB | rgb(143, 23, 45) |
| HSL | hsl(349, 72%, 33%) |
| HSV | hsv(349, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 68.5%, 43.9%) |
| CIE-LAB | lab(30.98, 49.08, 19.76) |
| CIE-LCH | lch(30.98, 52.91, 21.93°) |
| OKLab | oklab(42.42% 0.1458 0.0467) |
| OKLCH | oklch(42.42% 0.153 17.8) |
| XYZ | xyz(12.1091, 6.6438, 3.1269) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.00
Wine Red
#7B0323
ΔE00 4.66
Red Wine
#8C0034
ΔE00 4.85
Cranberry
#9E003A
ΔE00 4.86
Rouge
#AB1239
ΔE00 5.50
Bordeaux
#7B002C
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F172D #178F79
analogous
#8F1769 #8F172D #8F3D17
triadic
#8F172D #2D8F17 #172D8F
tetradic
#8F172D #698F17 #178F79 #3D178F
square
#8F172D #698F17 #178F79 #3D178F
split-complementary
#8F172D #178F3D #17698F
monochromatic
#26060C #5A0F1C #8F172D #C41F3E #E0405D
Accessibility & contrast
On white
9.02
#8F172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F172D
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F172D | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392D
Deuteranopia (green-blind)
#5A5229
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f172d; /* rgb */ color: rgb(143, 23, 45); /* oklch */ color: oklch(42.4% 0.153 17.8);
Tailwind
colors: {
custom: {
50: '#b76265',
500: '#8f172d',
950: '#000000',
},
}SCSS
$custom: #8f172d; $custom-light: #b76265; $custom-dark: #000000;
JSON
{
"hex": "#8f172d",
"rgb": {
"r": 143,
"g": 23,
"b": 45
},
"hsl": {
"h": 349,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42424,
"c": 0.15312,
"h": 17.8
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#8F172D
secondary
#41C1A9
accent
#EFCE39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A