#8D173F#8D173F
#8D173F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.153 H 7.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D173F |
|---|---|
| RGB | rgb(141, 23, 63) |
| HSL | hsl(340, 72%, 32%) |
| HSV | hsv(340, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 55.3%, 44.7%) |
| CIE-LAB | lab(30.96, 49.71, 7.76) |
| CIE-LCH | lch(30.96, 50.32, 8.87°) |
| OKLab | oklab(42.47% 0.1516 0.0199) |
| OKLCH | oklch(42.47% 0.153 7.5) |
| XYZ | xyz(12.1893, 6.6362, 5.3407) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.85
Purple Red
#990147
ΔE00 3.08
Berry
#990F4B
ΔE00 3.49
Cranberry
#9E003A
ΔE00 4.11
Wine (survey)
#80013F
ΔE00 4.73
Mulberry
#920A4E
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D173F #178D65
analogous
#8D177A #8D173F #8D2A17
triadic
#8D173F #3F8D17 #173F8D
tetradic
#8D173F #7A8D17 #178D65 #2A178D
square
#8D173F #7A8D17 #178D65 #2A178D
split-complementary
#8D173F #178D2A #177A8D
monochromatic
#240610 #580E27 #8D173F #C22057 #E03F75
Accessibility & contrast
On white
9.03
#8D173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8D173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D173F
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D173F | 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)
#383A40
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#9A0029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8d173f; /* rgb */ color: rgb(141, 23, 63); /* oklch */ color: oklch(42.5% 0.153 7.5);
Tailwind
colors: {
custom: {
50: '#b46373',
500: '#8d173f',
950: '#000000',
},
}SCSS
$custom: #8d173f; $custom-light: #b46373; $custom-dark: #000000;
JSON
{
"hex": "#8d173f",
"rgb": {
"r": 141,
"g": 23,
"b": 63
},
"hsl": {
"h": 339.661,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.42466,
"c": 0.15288,
"h": 7.5
},
"luminance": 0.06634
}Semantic roles & 50–950 ramp
primary
#8D173F
secondary
#40C095
accent
#EFB139
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B