#8E114E#8E114E
#8E114E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.163 H 358.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E114E |
|---|---|
| RGB | rgb(142, 17, 78) |
| HSL | hsl(331, 79%, 31%) |
| HSV | hsv(331, 88%, 56%) |
| CMYK | cmyk(0%, 88%, 45.1%, 44.3%) |
| CIE-LAB | lab(31.12, 52.72, -1.92) |
| CIE-LCH | lch(31.12, 52.76, 357.91°) |
| OKLab | oklab(42.77% 0.1625 -0.0044) |
| OKLCH | oklch(42.77% 0.163 358.4) |
| XYZ | xyz(12.7320, 6.7035, 7.8297) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 0.81
Reddish Purple
#910951
ΔE00 1.01
Dark Magenta
#960056
ΔE00 2.32
Red Purple
#820747
ΔE00 2.69
Berry
#990F4B
ΔE00 3.14
Dark Fuchsia
#9D0759
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E114E #118E51
analogous
#8E118C #8E114E #8E1211
triadic
#8E114E #4E8E11 #114E8E
tetradic
#8E114E #8C8E11 #118E51 #12118E
square
#8E114E #8C8E11 #118E51 #12118E
split-complementary
#8E114E #118E12 #118C8E
monochromatic
#210412 #570A30 #8E114E #C5186C #E7338B
Accessibility & contrast
On white
8.97
#8E114E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E114E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E114E
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E114E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E114E | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323A4F
Deuteranopia (green-blind)
#53514B
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e114e; /* rgb */ color: rgb(142, 17, 78); /* oklch */ color: oklch(42.8% 0.163 358.4);
Tailwind
colors: {
custom: {
50: '#b5627f',
500: '#8e114e',
950: '#000000',
},
}SCSS
$custom: #8e114e; $custom-light: #b5627f; $custom-dark: #000000;
JSON
{
"hex": "#8e114e",
"rgb": {
"r": 142,
"g": 17,
"b": 78
},
"hsl": {
"h": 330.72,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.42765,
"c": 0.16251,
"h": 358.4
},
"luminance": 0.06702
}Semantic roles & 50–950 ramp
primary
#8E114E
secondary
#38C27F
accent
#F59633
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C