#8C173B#8C173B
#8C173B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 9.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8C173B |
|---|---|
| RGB | rgb(140, 23, 59) |
| HSL | hsl(342, 72%, 32%) |
| HSV | hsv(342, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 57.9%, 45.1%) |
| CIE-LAB | lab(30.65, 49.12, 9.96) |
| CIE-LCH | lch(30.65, 50.12, 11.46°) |
| OKLab | oklab(42.17% 0.1492 0.0251) |
| OKLCH | oklch(42.17% 0.151 9.6) |
| XYZ | xyz(11.9122, 6.5058, 4.7653) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.00
Cranberry
#9E003A
ΔE00 3.61
Purple Red
#990147
ΔE00 4.10
Bordeaux
#7B002C
ΔE00 4.44
Berry
#990F4B
ΔE00 4.61
Wine (survey)
#80013F
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C173B #178C68
analogous
#8C1776 #8C173B #8C2D17
triadic
#8C173B #3B8C17 #173B8C
tetradic
#8C173B #768C17 #178C68 #2D178C
square
#8C173B #768C17 #178C68 #2D178C
split-complementary
#8C173B #178C2D #17768C
monochromatic
#23060F #570E25 #8C173B #C12051 #DF3E70
Accessibility & contrast
On white
9.13
#8C173B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8C173B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C173B
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C173B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C173B | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38393C
Deuteranopia (green-blind)
#565138
Tritanopia (blue-blind)
#990027
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c173b; /* rgb */ color: rgb(140, 23, 59); /* oklch */ color: oklch(42.2% 0.151 9.6);
Tailwind
colors: {
custom: {
50: '#b46270',
500: '#8c173b',
950: '#000000',
},
}SCSS
$custom: #8c173b; $custom-light: #b46270; $custom-dark: #000000;
JSON
{
"hex": "#8c173b",
"rgb": {
"r": 140,
"g": 23,
"b": 59
},
"hsl": {
"h": 341.538,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.42168,
"c": 0.15129,
"h": 9.6
},
"luminance": 0.06504
}Semantic roles & 50–950 ramp
primary
#8C173B
secondary
#3FBF98
accent
#EFB739
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A