#8E1174#8E1174
#8E1174 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.5% C 0.183 H 339.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1174 |
|---|---|
| RGB | rgb(142, 17, 116) |
| HSL | hsl(312, 79%, 31%) |
| HSV | hsv(312, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 18.3%, 44.3%) |
| CIE-LAB | lab(32.73, 57.17, -24.07) |
| CIE-LCH | lch(32.73, 62.03, 337.17°) |
| OKLab | oklab(44.45% 0.1705 -0.0653) |
| OKLCH | oklch(44.45% 0.183 339) |
| XYZ | xyz(14.5086, 7.4141, 17.1866) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.16
Darkish Purple
#751973
ΔE00 5.27
Darkmagenta
#8B008B
ΔE00 5.33
Purple
#800080
ΔE00 5.34
Warm Purple
#952E8F
ΔE00 5.97
Barney Purple
#A00498
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1174 #118E2B
analogous
#69118E #8E1174 #8E1135
triadic
#8E1174 #748E11 #11748E
tetradic
#8E1174 #8E6911 #118E2B #11358E
square
#8E1174 #8E6911 #118E2B #11358E
split-complementary
#8E1174 #358E11 #118E69
monochromatic
#21041B #570A47 #8E1174 #C518A1 #E733C1
Accessibility & contrast
On white
8.46
#8E1174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8E1174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1174
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1174 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#971944
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e1174; /* rgb */ color: rgb(142, 17, 116); /* oklch */ color: oklch(44.5% 0.183 339.0);
Tailwind
colors: {
custom: {
50: '#b3639c',
500: '#8e1174',
950: '#000000',
},
}SCSS
$custom: #8e1174; $custom-light: #b3639c; $custom-dark: #000000;
JSON
{
"hex": "#8e1174",
"rgb": {
"r": 142,
"g": 17,
"b": 116
},
"hsl": {
"h": 312.48,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.44452,
"c": 0.18255,
"h": 339
},
"luminance": 0.07413
}Semantic roles & 50–950 ramp
primary
#8E1174
secondary
#38C255
accent
#F55B33
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E