#8C173A#8C173A
#8C173A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 10.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8C173A |
|---|---|
| RGB | rgb(140, 23, 58) |
| HSL | hsl(342, 72%, 32%) |
| HSV | hsv(342, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 58.6%, 45.1%) |
| CIE-LAB | lab(30.63, 49.05, 10.59) |
| CIE-LCH | lch(30.63, 50.18, 12.18°) |
| OKLab | oklab(42.14% 0.1488 0.0266) |
| OKLCH | oklch(42.14% 0.151 10.1) |
| XYZ | xyz(11.8865, 6.4955, 4.6300) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.86
Cranberry
#9E003A
ΔE00 3.49
Bordeaux
#7B002C
ΔE00 4.35
Purple Red
#990147
ΔE00 4.38
Berry
#990F4B
ΔE00 4.91
Wine (survey)
#80013F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C173A #178C69
analogous
#8C1775 #8C173A #8C2E17
triadic
#8C173A #3A8C17 #173A8C
tetradic
#8C173A #758C17 #178C69 #2E178C
square
#8C173A #758C17 #178C69 #2E178C
split-complementary
#8C173A #178C2E #17758C
monochromatic
#23060E #570E24 #8C173A #C12050 #DF3E6E
Accessibility & contrast
On white
9.14
#8C173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8C173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C173A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C173A | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39393B
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#9A0027
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c173a; /* rgb */ color: rgb(140, 23, 58); /* oklch */ color: oklch(42.1% 0.151 10.1);
Tailwind
colors: {
custom: {
50: '#b4626f',
500: '#8c173a',
950: '#000000',
},
}SCSS
$custom: #8c173a; $custom-light: #b4626f; $custom-dark: #000000;
JSON
{
"hex": "#8c173a",
"rgb": {
"r": 140,
"g": 23,
"b": 58
},
"hsl": {
"h": 342.051,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.42142,
"c": 0.15113,
"h": 10.1
},
"luminance": 0.06494
}Semantic roles & 50–950 ramp
primary
#8C173A
secondary
#3FBF99
accent
#EFB839
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A