#8E174A#8E174A
#8E174A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.157 H 1.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8E174A |
|---|---|
| RGB | rgb(142, 23, 74) |
| HSL | hsl(334, 72%, 32%) |
| HSV | hsv(334, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 47.9%, 44.3%) |
| CIE-LAB | lab(31.49, 50.93, 1.25) |
| CIE-LCH | lch(31.49, 50.95, 1.40°) |
| OKLab | oklab(42.99% 0.1565 0.0038) |
| OKLCH | oklch(42.99% 0.157 1.4) |
| XYZ | xyz(12.6988, 6.8597, 7.1326) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.70
Berry
#990F4B
ΔE00 2.16
Reddish Purple
#910951
ΔE00 2.57
Purple Red
#990147
ΔE00 2.58
Red Purple
#820747
ΔE00 3.46
Wine (survey)
#80013F
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E174A #178E5B
analogous
#8E1785 #8E174A #8E2017
triadic
#8E174A #4A8E17 #174A8E
tetradic
#8E174A #858E17 #178E5B #20178E
square
#8E174A #858E17 #178E5B #20178E
split-complementary
#8E174A #178E20 #17858E
monochromatic
#250613 #590E2F #8E174A #C32065 #E03F84
Accessibility & contrast
On white
8.85
#8E174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E174A
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E174A | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353C4B
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e174a; /* rgb */ color: rgb(142, 23, 74); /* oklch */ color: oklch(43.0% 0.157 1.4);
Tailwind
colors: {
custom: {
50: '#b5637c',
500: '#8e174a',
950: '#000000',
},
}SCSS
$custom: #8e174a; $custom-light: #b5637c; $custom-dark: #000000;
JSON
{
"hex": "#8e174a",
"rgb": {
"r": 142,
"g": 23,
"b": 74
},
"hsl": {
"h": 334.286,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42988,
"c": 0.15657,
"h": 1.4
},
"luminance": 0.06858
}Semantic roles & 50–950 ramp
primary
#8E174A
secondary
#40C08A
accent
#EFA139
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B