#8E174D#8E174D
#8E174D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.158 H 359.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E174D |
|---|---|
| RGB | rgb(142, 23, 77) |
| HSL | hsl(333, 72%, 32%) |
| HSV | hsv(333, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 45.8%, 44.3%) |
| CIE-LAB | lab(31.58, 51.21, -0.59) |
| CIE-LCH | lch(31.58, 51.22, 359.34°) |
| OKLab | oklab(43.09% 0.1576 -0.001) |
| OKLCH | oklch(43.09% 0.158 359.7) |
| XYZ | xyz(12.8023, 6.9011, 7.6776) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.14
Reddish Purple
#910951
ΔE00 1.77
Berry
#990F4B
ΔE00 2.62
Dark Magenta
#960056
ΔE00 2.98
Red Purple
#820747
ΔE00 3.13
Purple Red
#990147
ΔE00 3.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E174D #178E58
analogous
#8E1789 #8E174D #8E1C17
triadic
#8E174D #4D8E17 #174D8E
tetradic
#8E174D #898E17 #178E58 #1C178E
square
#8E174D #898E17 #178E58 #1C178E
split-complementary
#8E174D #178E1C #17898E
monochromatic
#250614 #590E30 #8E174D #C3206A #E03F88
Accessibility & contrast
On white
8.82
#8E174D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8E174D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E174D
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E174D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E174D | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#55524A
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e174d; /* rgb */ color: rgb(142, 23, 77); /* oklch */ color: oklch(43.1% 0.158 359.7);
Tailwind
colors: {
custom: {
50: '#b4637e',
500: '#8e174d',
950: '#000000',
},
}SCSS
$custom: #8e174d; $custom-light: #b4637e; $custom-dark: #000000;
JSON
{
"hex": "#8e174d",
"rgb": {
"r": 142,
"g": 23,
"b": 77
},
"hsl": {
"h": 332.773,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.43089,
"c": 0.15756,
"h": 359.7
},
"luminance": 0.06899
}Semantic roles & 50–950 ramp
primary
#8E174D
secondary
#40C086
accent
#EF9C39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C