#8D173C#8D173C
#8D173C is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.152 H 9.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8D173C |
|---|---|
| RGB | rgb(141, 23, 60) |
| HSL | hsl(341, 72%, 32%) |
| HSV | hsv(341, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 57.4%, 44.7%) |
| CIE-LAB | lab(30.89, 49.48, 9.65) |
| CIE-LCH | lch(30.89, 50.41, 11.03°) |
| OKLab | oklab(42.38% 0.1504 0.0244) |
| OKLCH | oklch(42.38% 0.152 9.2) |
| XYZ | xyz(12.1077, 6.6035, 4.9112) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.16
Cranberry
#9E003A
ΔE00 3.54
Purple Red
#990147
ΔE00 3.83
Berry
#990F4B
ΔE00 4.33
Bordeaux
#7B002C
ΔE00 4.67
Wine (survey)
#80013F
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D173C #178D68
analogous
#8D1777 #8D173C #8D2D17
triadic
#8D173C #3C8D17 #173C8D
tetradic
#8D173C #778D17 #178D68 #2D178D
square
#8D173C #778D17 #178D68 #2D178D
split-complementary
#8D173C #178D2D #17778D
monochromatic
#24060F #580E26 #8D173C #C22052 #E03F71
Accessibility & contrast
On white
9.05
#8D173C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8D173C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D173C
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D173C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D173C | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393A3D
Deuteranopia (green-blind)
#575139
Tritanopia (blue-blind)
#9B0028
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8d173c; /* rgb */ color: rgb(141, 23, 60); /* oklch */ color: oklch(42.4% 0.152 9.2);
Tailwind
colors: {
custom: {
50: '#b56371',
500: '#8d173c',
950: '#000000',
},
}SCSS
$custom: #8d173c; $custom-light: #b56371; $custom-dark: #000000;
JSON
{
"hex": "#8d173c",
"rgb": {
"r": 141,
"g": 23,
"b": 60
},
"hsl": {
"h": 341.186,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.42384,
"c": 0.15234,
"h": 9.2
},
"luminance": 0.06602
}Semantic roles & 50–950 ramp
primary
#8D173C
secondary
#40C098
accent
#EFB639
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A