#8C173F#8C173F
#8C173F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.152 H 7.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8C173F |
|---|---|
| RGB | rgb(140, 23, 63) |
| HSL | hsl(339, 72%, 32%) |
| HSV | hsv(339, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 55%, 45.1%) |
| CIE-LAB | lab(30.76, 49.43, 7.44) |
| CIE-LCH | lch(30.76, 49.99, 8.56°) |
| OKLab | oklab(42.28% 0.1508 0.0191) |
| OKLCH | oklch(42.28% 0.152 7.2) |
| XYZ | xyz(12.0200, 6.5489, 5.3328) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.92
Purple Red
#990147
ΔE00 3.12
Berry
#990F4B
ΔE00 3.52
Cranberry
#9E003A
ΔE00 4.34
Wine (survey)
#80013F
ΔE00 4.52
Mulberry
#920A4E
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C173F #178C64
analogous
#8C177A #8C173F #8C2A17
triadic
#8C173F #3F8C17 #173F8C
tetradic
#8C173F #7A8C17 #178C64 #2A178C
square
#8C173F #7A8C17 #178C64 #2A178C
split-complementary
#8C173F #178C2A #177A8C
monochromatic
#230610 #570E27 #8C173F #C12057 #DF3E75
Accessibility & contrast
On white
9.09
#8C173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8C173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C173F
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C173F | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A40
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#990029
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c173f; /* rgb */ color: rgb(140, 23, 63); /* oklch */ color: oklch(42.3% 0.152 7.2);
Tailwind
colors: {
custom: {
50: '#b46273',
500: '#8c173f',
950: '#000000',
},
}SCSS
$custom: #8c173f; $custom-light: #b46273; $custom-dark: #000000;
JSON
{
"hex": "#8c173f",
"rgb": {
"r": 140,
"g": 23,
"b": 63
},
"hsl": {
"h": 339.487,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.42277,
"c": 0.15199,
"h": 7.2
},
"luminance": 0.06547
}Semantic roles & 50–950 ramp
primary
#8C173F
secondary
#3FBF94
accent
#EFB139
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B