#8E396D#8E396D
#8E396D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.131 H 345.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8E396D |
|---|---|
| RGB | rgb(142, 57, 109) |
| HSL | hsl(323, 43%, 39%) |
| HSV | hsv(323, 60%, 56%) |
| CMYK | cmyk(0%, 59.9%, 23.2%, 44.3%) |
| CIE-LAB | lab(37.45, 42.07, -12.37) |
| CIE-LCH | lch(37.45, 43.86, 343.61°) |
| OKLab | oklab(47.79% 0.1264 -0.0327) |
| OKLCH | oklch(47.79% 0.131 345.5) |
| XYZ | xyz(15.3792, 9.7826, 15.5433) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.31
Red Violet
#9E0168
ΔE00 6.35
Light Eggplant
#894585
ΔE00 6.40
Deep Magenta
#A0025C
ΔE00 7.33
Grape
#6C3461
ΔE00 7.36
Dark Fuchsia
#9D0759
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E396D #398E5A
analogous
#85398E #8E396D #8E3943
triadic
#8E396D #6D8E39 #396D8E
tetradic
#8E396D #8E8539 #398E5A #39438E
square
#8E396D #8E8539 #398E5A #39438E
split-complementary
#8E396D #438E39 #398E85
monochromatic
#37162A #62274B #8E396D #B74D8E #C978AA
Accessibility & contrast
On white
7.10
#8E396D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#8E396D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E396D
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E396D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E396D | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414F6F
Deuteranopia (green-blind)
#595D6B
Tritanopia (blue-blind)
#97384E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8e396d; /* rgb */ color: rgb(142, 57, 109); /* oklch */ color: oklch(47.8% 0.131 345.5);
Tailwind
colors: {
custom: {
50: '#b27497',
500: '#8e396d',
950: '#000000',
},
}SCSS
$custom: #8e396d; $custom-light: #b27497; $custom-dark: #000000;
JSON
{
"hex": "#8e396d",
"rgb": {
"r": 142,
"g": 57,
"b": 109
},
"hsl": {
"h": 323.294,
"s": 42.714,
"l": 39.02
},
"oklch": {
"l": 0.47786,
"c": 0.13054,
"h": 345.5
},
"luminance": 0.09781
}Semantic roles & 50–950 ramp
primary
#8E396D
secondary
#71B28A
accent
#D28655
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E