#8F172A#8F172A
#8F172A is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 19.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8F172A |
|---|---|
| RGB | rgb(143, 23, 42) |
| HSL | hsl(351, 72%, 33%) |
| HSV | hsv(351, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 70.6%, 43.9%) |
| CIE-LAB | lab(30.93, 48.92, 21.64) |
| CIE-LCH | lch(30.93, 53.50, 23.87°) |
| OKLab | oklab(42.37% 0.1446 0.0505) |
| OKLCH | oklch(42.37% 0.153 19.2) |
| XYZ | xyz(12.0534, 6.6215, 2.8335) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.86
Wine Red
#7B0323
ΔE00 4.88
Cranberry
#9E003A
ΔE00 5.78
Rouge
#AB1239
ΔE00 5.84
Red Wine
#8C0034
ΔE00 5.84
Carmine
#9D0216
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F172A #178F7C
analogous
#8F1766 #8F172A #8F4017
triadic
#8F172A #2A8F17 #172A8F
tetradic
#8F172A #668F17 #178F7C #40178F
square
#8F172A #668F17 #178F7C #40178F
split-complementary
#8F172A #178F40 #17668F
monochromatic
#26060B #5A0F1B #8F172A #C41F39 #E04059
Accessibility & contrast
On white
9.04
#8F172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8F172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F172A
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F172A | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D392A
Deuteranopia (green-blind)
#5A5226
Tritanopia (blue-blind)
#9E0020
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f172a; /* rgb */ color: rgb(143, 23, 42); /* oklch */ color: oklch(42.4% 0.153 19.2);
Tailwind
colors: {
custom: {
50: '#b86263',
500: '#8f172a',
950: '#000000',
},
}SCSS
$custom: #8f172a; $custom-light: #b86263; $custom-dark: #000000;
JSON
{
"hex": "#8f172a",
"rgb": {
"r": 143,
"g": 23,
"b": 42
},
"hsl": {
"h": 350.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42368,
"c": 0.15317,
"h": 19.2
},
"luminance": 0.0662
}Semantic roles & 50–950 ramp
primary
#8F172A
secondary
#41C1AD
accent
#EFD239
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79