#8E173A#8E173A
#8E173A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.153 H 10.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8E173A |
|---|---|
| RGB | rgb(142, 23, 58) |
| HSL | hsl(342, 72%, 32%) |
| HSV | hsv(342, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 59.2%, 44.3%) |
| CIE-LAB | lab(31.05, 49.62, 11.23) |
| CIE-LCH | lch(31.05, 50.87, 12.75°) |
| OKLab | oklab(42.52% 0.1504 0.0281) |
| OKLCH | oklch(42.52% 0.153 10.6) |
| XYZ | xyz(12.2267, 6.6709, 4.6460) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.93
Cranberry
#9E003A
ΔE00 3.07
Purple Red
#990147
ΔE00 4.44
Bordeaux
#7B002C
ΔE00 4.65
Berry
#990F4B
ΔE00 4.98
Wine Red
#7B0323
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E173A #178E6B
analogous
#8E1775 #8E173A #8E3017
triadic
#8E173A #3A8E17 #173A8E
tetradic
#8E173A #758E17 #178E6B #30178E
square
#8E173A #758E17 #178E6B #30178E
split-complementary
#8E173A #178E30 #17758E
monochromatic
#25060F #590E24 #8E173A #C32050 #E03F6F
Accessibility & contrast
On white
9.00
#8E173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8E173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E173A
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E173A | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393A3B
Deuteranopia (green-blind)
#585237
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e173a; /* rgb */ color: rgb(142, 23, 58); /* oklch */ color: oklch(42.5% 0.153 10.6);
Tailwind
colors: {
custom: {
50: '#b6636f',
500: '#8e173a',
950: '#000000',
},
}SCSS
$custom: #8e173a; $custom-light: #b6636f; $custom-dark: #000000;
JSON
{
"hex": "#8e173a",
"rgb": {
"r": 142,
"g": 23,
"b": 58
},
"hsl": {
"h": 342.353,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42522,
"c": 0.15296,
"h": 10.6
},
"luminance": 0.06669
}Semantic roles & 50–950 ramp
primary
#8E173A
secondary
#40C09B
accent
#EFB939
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A