#8D174F#8D174F
#8D174F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.158 H 358.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8D174F |
|---|---|
| RGB | rgb(141, 23, 79) |
| HSL | hsl(332, 72%, 32%) |
| HSV | hsv(332, 84%, 55%) |
| CMYK | cmyk(0%, 83.7%, 44%, 44.7%) |
| CIE-LAB | lab(31.44, 51.14, -2.13) |
| CIE-LCH | lch(31.44, 51.19, 357.61°) |
| OKLab | oklab(42.97% 0.1574 -0.005) |
| OKLCH | oklch(42.97% 0.158 358.2) |
| XYZ | xyz(12.7032, 6.8417, 8.0473) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.22
Reddish Purple
#910951
ΔE00 1.31
Dark Magenta
#960056
ΔE00 2.52
Red Purple
#820747
ΔE00 2.88
Dark Fuchsia
#9D0759
ΔE00 3.23
Berry
#990F4B
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D174F #178D55
analogous
#8D178A #8D174F #8D1A17
triadic
#8D174F #4F8D17 #174F8D
tetradic
#8D174F #8A8D17 #178D55 #1A178D
square
#8D174F #8A8D17 #178D55 #1A178D
split-complementary
#8D174F #178D1A #178A8D
monochromatic
#240614 #580E32 #8D174F #C2206C #E03F8B
Accessibility & contrast
On white
8.87
#8D174F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8D174F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D174F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D174F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D174F | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#53524C
Tritanopia (blue-blind)
#990031
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8d174f; /* rgb */ color: rgb(141, 23, 79); /* oklch */ color: oklch(43.0% 0.158 358.2);
Tailwind
colors: {
custom: {
50: '#b46380',
500: '#8d174f',
950: '#000000',
},
}SCSS
$custom: #8d174f; $custom-light: #b46380; $custom-dark: #000000;
JSON
{
"hex": "#8d174f",
"rgb": {
"r": 141,
"g": 23,
"b": 79
},
"hsl": {
"h": 331.525,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.42974,
"c": 0.1575,
"h": 358.2
},
"luminance": 0.0684
}Semantic roles & 50–950 ramp
primary
#8D174F
secondary
#40C083
accent
#EF9939
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C