#8E173E#8E173E
#8E173E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 8.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E173E |
|---|---|
| RGB | rgb(142, 23, 62) |
| HSL | hsl(340, 72%, 32%) |
| HSV | hsv(340, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 56.3%, 44.3%) |
| CIE-LAB | lab(31.14, 49.92, 8.71) |
| CIE-LCH | lch(31.14, 50.67, 9.90°) |
| OKLab | oklab(42.63% 0.152 0.0222) |
| OKLCH | oklch(42.63% 0.154 8.3) |
| XYZ | xyz(12.3324, 6.7132, 5.2029) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.56
Purple Red
#990147
ΔE00 3.31
Cranberry
#9E003A
ΔE00 3.68
Berry
#990F4B
ΔE00 3.77
Bordeaux
#7B002C
ΔE00 5.03
Wine (survey)
#80013F
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E173E #178E67
analogous
#8E177A #8E173E #8E2B17
triadic
#8E173E #3E8E17 #173E8E
tetradic
#8E173E #7A8E17 #178E67 #2B178E
square
#8E173E #7A8E17 #178E67 #2B178E
split-complementary
#8E173E #178E2B #177A8E
monochromatic
#250610 #590E27 #8E173E #C32055 #E03F74
Accessibility & contrast
On white
8.97
#8E173E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E173E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E173E
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E173E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E173E | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393A3F
Deuteranopia (green-blind)
#57523B
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e173e; /* rgb */ color: rgb(142, 23, 62); /* oklch */ color: oklch(42.6% 0.154 8.3);
Tailwind
colors: {
custom: {
50: '#b56372',
500: '#8e173e',
950: '#000000',
},
}SCSS
$custom: #8e173e; $custom-light: #b56372; $custom-dark: #000000;
JSON
{
"hex": "#8e173e",
"rgb": {
"r": 142,
"g": 23,
"b": 62
},
"hsl": {
"h": 340.336,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42627,
"c": 0.15358,
"h": 8.3
},
"luminance": 0.06711
}Semantic roles & 50–950 ramp
primary
#8E173E
secondary
#40C096
accent
#EFB339
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B