#8E1175#8E1175
#8E1175 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.5% C 0.183 H 338.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1175 |
|---|---|
| RGB | rgb(142, 17, 117) |
| HSL | hsl(312, 79%, 31%) |
| HSV | hsv(312, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 17.6%, 44.3%) |
| CIE-LAB | lab(32.78, 57.31, -24.62) |
| CIE-LCH | lch(32.78, 62.37, 336.75°) |
| OKLab | oklab(44.51% 0.1706 -0.0669) |
| OKLCH | oklch(44.51% 0.183 338.6) |
| XYZ | xyz(14.5671, 7.4375, 17.4946) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 5.11
Purple
#800080
ΔE00 5.16
Darkish Purple
#751973
ΔE00 5.17
Red Violet
#9E0168
ΔE00 5.34
Warm Purple
#952E8F
ΔE00 5.82
Barney Purple
#A00498
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1175 #118E2A
analogous
#68118E #8E1175 #8E1136
triadic
#8E1175 #758E11 #11758E
tetradic
#8E1175 #8E6811 #118E2A #11368E
square
#8E1175 #8E6811 #118E2A #11368E
split-complementary
#8E1175 #368E11 #118E68
monochromatic
#21041B #570A48 #8E1175 #C518A2 #E733C3
Accessibility & contrast
On white
8.44
#8E1175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8E1175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1175
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1175 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4177
Deuteranopia (green-blind)
#475472
Tritanopia (blue-blind)
#971A45
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e1175; /* rgb */ color: rgb(142, 17, 117); /* oklch */ color: oklch(44.5% 0.183 338.6);
Tailwind
colors: {
custom: {
50: '#b3639d',
500: '#8e1175',
950: '#000000',
},
}SCSS
$custom: #8e1175; $custom-light: #b3639d; $custom-dark: #000000;
JSON
{
"hex": "#8e1175",
"rgb": {
"r": 142,
"g": 17,
"b": 117
},
"hsl": {
"h": 312,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.44505,
"c": 0.1832,
"h": 338.6
},
"luminance": 0.07436
}Semantic roles & 50–950 ramp
primary
#8E1175
secondary
#38C254
accent
#F55A33
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E