#8E175D#8E175D
#8E175D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.164 H 350.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8E175D |
|---|---|
| RGB | rgb(142, 23, 93) |
| HSL | hsl(325, 72%, 32%) |
| HSV | hsv(325, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 34.5%, 44.3%) |
| CIE-LAB | lab(32.16, 52.90, -10.19) |
| CIE-LCH | lch(32.16, 53.87, 349.09°) |
| OKLab | oklab(43.7% 0.1623 -0.0265) |
| OKLCH | oklch(43.7% 0.164 350.7) |
| XYZ | xyz(13.4383, 7.1555, 11.0273) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.77
Red Violet
#9E0168
ΔE00 3.22
Reddish Purple
#910951
ΔE00 3.31
Dark Fuchsia
#9D0759
ΔE00 3.66
Deep Magenta
#A0025C
ΔE00 3.77
Mulberry
#920A4E
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E175D #178E48
analogous
#84178E #8E175D #8E1721
triadic
#8E175D #5D8E17 #175D8E
tetradic
#8E175D #8E8417 #178E48 #17218E
square
#8E175D #8E8417 #178E48 #17218E
split-complementary
#8E175D #218E17 #178E84
monochromatic
#250618 #590E3B #8E175D #C3207F #E03F9E
Accessibility & contrast
On white
8.64
#8E175D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8E175D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E175D
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E175D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E175D | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#51535A
Tritanopia (blue-blind)
#990A39
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e175d; /* rgb */ color: rgb(142, 23, 93); /* oklch */ color: oklch(43.7% 0.164 350.7);
Tailwind
colors: {
custom: {
50: '#b4648b',
500: '#8e175d',
950: '#000000',
},
}SCSS
$custom: #8e175d; $custom-light: #b4648b; $custom-dark: #000000;
JSON
{
"hex": "#8e175d",
"rgb": {
"r": 142,
"g": 23,
"b": 93
},
"hsl": {
"h": 324.706,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.43699,
"c": 0.16448,
"h": 350.7
},
"luminance": 0.07154
}Semantic roles & 50–950 ramp
primary
#8E175D
secondary
#40C075
accent
#EF8439
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C