#8D174C#8D174C
#8D174C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 359.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8D174C |
|---|---|
| RGB | rgb(141, 23, 76) |
| HSL | hsl(333, 72%, 32%) |
| HSV | hsv(333, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 46.1%, 44.7%) |
| CIE-LAB | lab(31.34, 50.85, -0.30) |
| CIE-LCH | lch(31.34, 50.85, 359.66°) |
| OKLab | oklab(42.87% 0.1564 -0.0002) |
| OKLCH | oklch(42.87% 0.156 359.9) |
| XYZ | xyz(12.5964, 6.7990, 7.4851) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.30
Reddish Purple
#910951
ΔE00 1.95
Berry
#990F4B
ΔE00 2.68
Red Purple
#820747
ΔE00 3.00
Purple Red
#990147
ΔE00 3.17
Dark Magenta
#960056
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D174C #178D58
analogous
#8D1787 #8D174C #8D1D17
triadic
#8D174C #4C8D17 #174C8D
tetradic
#8D174C #878D17 #178D58 #1D178D
square
#8D174C #878D17 #178D58 #1D178D
split-complementary
#8D174C #178D1D #17878D
monochromatic
#240613 #580E30 #8D174C #C22068 #E03F87
Accessibility & contrast
On white
8.90
#8D174C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8D174C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D174C
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D174C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D174C | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#545249
Tritanopia (blue-blind)
#990030
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8d174c; /* rgb */ color: rgb(141, 23, 76); /* oklch */ color: oklch(42.9% 0.156 359.9);
Tailwind
colors: {
custom: {
50: '#b4637d',
500: '#8d174c',
950: '#000000',
},
}SCSS
$custom: #8d174c; $custom-light: #b4637d; $custom-dark: #000000;
JSON
{
"hex": "#8d174c",
"rgb": {
"r": 141,
"g": 23,
"b": 76
},
"hsl": {
"h": 333.051,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.4287,
"c": 0.15641,
"h": 359.9
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#8D174C
secondary
#40C086
accent
#EF9D39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B