#8C173C#8C173C
#8C173C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 9.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8C173C |
|---|---|
| RGB | rgb(140, 23, 60) |
| HSL | hsl(341, 72%, 32%) |
| HSV | hsv(341, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 57.1%, 45.1%) |
| CIE-LAB | lab(30.68, 49.20, 9.33) |
| CIE-LCH | lch(30.68, 50.08, 10.73°) |
| OKLab | oklab(42.2% 0.1496 0.0236) |
| OKLCH | oklch(42.2% 0.151 9) |
| XYZ | xyz(11.9384, 6.5162, 4.9032) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.19
Cranberry
#9E003A
ΔE00 3.76
Purple Red
#990147
ΔE00 3.83
Berry
#990F4B
ΔE00 4.32
Bordeaux
#7B002C
ΔE00 4.55
Wine (survey)
#80013F
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C173C #178C67
analogous
#8C1777 #8C173C #8C2D17
triadic
#8C173C #3C8C17 #173C8C
tetradic
#8C173C #778C17 #178C67 #2D178C
square
#8C173C #778C17 #178C67 #2D178C
split-complementary
#8C173C #178C2D #17778C
monochromatic
#23060F #570E25 #8C173C #C12053 #DF3E71
Accessibility & contrast
On white
9.12
#8C173C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8C173C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C173C
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C173C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C173C | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38393D
Deuteranopia (green-blind)
#565139
Tritanopia (blue-blind)
#990028
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c173c; /* rgb */ color: rgb(140, 23, 60); /* oklch */ color: oklch(42.2% 0.151 9.0);
Tailwind
colors: {
custom: {
50: '#b46271',
500: '#8c173c',
950: '#000000',
},
}SCSS
$custom: #8c173c; $custom-light: #b46271; $custom-dark: #000000;
JSON
{
"hex": "#8c173c",
"rgb": {
"r": 140,
"g": 23,
"b": 60
},
"hsl": {
"h": 341.026,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.42195,
"c": 0.15144,
"h": 9
},
"luminance": 0.06514
}Semantic roles & 50–950 ramp
primary
#8C173C
secondary
#3FBF97
accent
#EFB539
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A