#8D172C#8D172C
#8D172C is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.151 H 18.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8D172C |
|---|---|
| RGB | rgb(141, 23, 44) |
| HSL | hsl(349, 72%, 32%) |
| HSV | hsv(349, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 68.8%, 44.7%) |
| CIE-LAB | lab(30.54, 48.44, 19.77) |
| CIE-LCH | lch(30.54, 52.32, 22.20°) |
| OKLab | oklab(42.02% 0.1438 0.0467) |
| OKLCH | oklch(42.02% 0.151 18) |
| XYZ | xyz(11.7468, 6.4592, 3.0106) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.64
Wine Red
#7B0323
ΔE00 4.32
Red Wine
#8C0034
ΔE00 4.90
Cranberry
#9E003A
ΔE00 5.17
Rouge
#AB1239
ΔE00 5.91
Bordeaux
#7B002C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D172C #178D78
analogous
#8D1767 #8D172C #8D3D17
triadic
#8D172C #2C8D17 #172C8D
tetradic
#8D172C #678D17 #178D78 #3D178D
square
#8D172C #678D17 #178D78 #3D178D
split-complementary
#8D172C #178D3D #17678D
monochromatic
#24060B #580E1C #8D172C #C2203C #E03F5B
Accessibility & contrast
On white
9.16
#8D172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8D172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D172C
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D172C | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B382C
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#9B0021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8d172c; /* rgb */ color: rgb(141, 23, 44); /* oklch */ color: oklch(42.0% 0.151 18.0);
Tailwind
colors: {
custom: {
50: '#b66264',
500: '#8d172c',
950: '#000000',
},
}SCSS
$custom: #8d172c; $custom-light: #b66264; $custom-dark: #000000;
JSON
{
"hex": "#8d172c",
"rgb": {
"r": 141,
"g": 23,
"b": 44
},
"hsl": {
"h": 349.322,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.42019,
"c": 0.1512,
"h": 18
},
"luminance": 0.06457
}Semantic roles & 50–950 ramp
primary
#8D172C
secondary
#40C0A9
accent
#EFCE39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A