#8E4078#8E4078
#8E4078 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.2% C 0.127 H 339.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4078 |
|---|---|
| RGB | rgb(142, 64, 120) |
| HSL | hsl(317, 38%, 40%) |
| HSV | hsv(317, 55%, 56%) |
| CMYK | cmyk(0%, 54.9%, 15.5%, 44.3%) |
| CIE-LAB | lab(39.20, 40.32, -16.56) |
| CIE-LCH | lch(39.20, 43.58, 337.67°) |
| OKLab | oklab(49.23% 0.1187 -0.0445) |
| OKLCH | oklch(49.23% 0.127 339.5) |
| XYZ | xyz(16.3791, 10.7749, 18.9828) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.39
Light Eggplant
#894585
ΔE00 3.76
Purplish
#94568C
ΔE00 6.49
Purpleish
#98568D
ΔE00 6.68
Warm Purple
#952E8F
ΔE00 6.76
Light Plum
#9D5783
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4078 #408E56
analogous
#7D408E #8E4078 #8E4051
triadic
#8E4078 #788E40 #40788E
tetradic
#8E4078 #8E7D40 #408E56 #40518E
square
#8E4078 #8E7D40 #408E56 #40518E
split-complementary
#8E4078 #518E40 #408E7D
monochromatic
#3A1A31 #642D54 #8E4078 #B4589A #C782B3
Accessibility & contrast
On white
6.66
#8E4078 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#8E4078 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4078
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4078 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4078 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43557A
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#954256
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8e4078; /* rgb */ color: rgb(142, 64, 120); /* oklch */ color: oklch(49.2% 0.127 339.5);
Tailwind
colors: {
custom: {
50: '#b1789f',
500: '#8e4078',
950: '#000000',
},
}SCSS
$custom: #8e4078; $custom-light: #b1789f; $custom-dark: #000000;
JSON
{
"hex": "#8e4078",
"rgb": {
"r": 142,
"g": 64,
"b": 120
},
"hsl": {
"h": 316.923,
"s": 37.864,
"l": 40.392
},
"oklch": {
"l": 0.49228,
"c": 0.12679,
"h": 339.5
},
"luminance": 0.10774
}Semantic roles & 50–950 ramp
primary
#8E4078
secondary
#79B189
accent
#CE7B5A
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E