#8C174C#8C174C
#8C174C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.156 H 359.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8C174C |
|---|---|
| RGB | rgb(140, 23, 76) |
| HSL | hsl(333, 72%, 32%) |
| HSV | hsv(333, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 45.7%, 45.1%) |
| CIE-LAB | lab(31.14, 50.58, -0.62) |
| CIE-LCH | lch(31.14, 50.58, 359.29°) |
| OKLab | oklab(42.68% 0.1556 -0.001) |
| OKLCH | oklch(42.68% 0.156 359.6) |
| XYZ | xyz(12.4271, 6.7117, 7.4772) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.36
Reddish Purple
#910951
ΔE00 1.89
Red Purple
#820747
ΔE00 2.80
Berry
#990F4B
ΔE00 2.91
Dark Magenta
#960056
ΔE00 3.17
Purple Red
#990147
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C174C #178C57
analogous
#8C1786 #8C174C #8C1D17
triadic
#8C174C #4C8C17 #174C8C
tetradic
#8C174C #868C17 #178C57 #1D178C
square
#8C174C #868C17 #178C57 #1D178C
split-complementary
#8C174C #178C1D #17868C
monochromatic
#230613 #570E2F #8C174C #C12069 #DF3E87
Accessibility & contrast
On white
8.97
#8C174C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8C174C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C174C
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C174C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C174C | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#980030
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8c174c; /* rgb */ color: rgb(140, 23, 76); /* oklch */ color: oklch(42.7% 0.156 359.6);
Tailwind
colors: {
custom: {
50: '#b3637d',
500: '#8c174c',
950: '#000000',
},
}SCSS
$custom: #8c174c; $custom-light: #b3637d; $custom-dark: #000000;
JSON
{
"hex": "#8c174c",
"rgb": {
"r": 140,
"g": 23,
"b": 76
},
"hsl": {
"h": 332.821,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.42684,
"c": 0.1556,
"h": 359.6
},
"luminance": 0.0671
}Semantic roles & 50–950 ramp
primary
#8C174C
secondary
#3FBF85
accent
#EF9C39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B