#8E397A#8E397A
#8E397A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.140 H 337.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8E397A |
|---|---|
| RGB | rgb(142, 57, 122) |
| HSL | hsl(314, 43%, 39%) |
| HSV | hsv(314, 60%, 56%) |
| CMYK | cmyk(0%, 59.9%, 14.1%, 44.3%) |
| CIE-LAB | lab(37.99, 44.11, -19.65) |
| CIE-LCH | lch(37.99, 48.29, 335.98°) |
| OKLab | oklab(48.36% 0.1295 -0.0531) |
| OKLCH | oklch(48.36% 0.14 337.7) |
| XYZ | xyz(16.1315, 10.0835, 19.5053) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 3.70
Bruise
#7E4071
ΔE00 3.91
Warm Purple
#952E8F
ΔE00 5.12
Red Violet
#9E0168
ΔE00 7.23
Grape
#6C3461
ΔE00 7.59
Purplish
#94568C
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E397A #398E4D
analogous
#78398E #8E397A #8E3950
triadic
#8E397A #7A8E39 #397A8E
tetradic
#8E397A #8E7839 #398E4D #39508E
square
#8E397A #8E7839 #398E4D #39508E
split-complementary
#8E397A #508E39 #398E78
monochromatic
#37162F #622754 #8E397A #B74D9E #C978B6
Accessibility & contrast
On white
6.96
#8E397A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#8E397A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E397A
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E397A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E397A | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#953C54
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8e397a; /* rgb */ color: rgb(142, 57, 122); /* oklch */ color: oklch(48.4% 0.140 337.7);
Tailwind
colors: {
custom: {
50: '#b274a0',
500: '#8e397a',
950: '#000000',
},
}SCSS
$custom: #8e397a; $custom-light: #b274a0; $custom-dark: #000000;
JSON
{
"hex": "#8e397a",
"rgb": {
"r": 142,
"g": 57,
"b": 122
},
"hsl": {
"h": 314.118,
"s": 42.714,
"l": 39.02
},
"oklch": {
"l": 0.48364,
"c": 0.13993,
"h": 337.7
},
"luminance": 0.10082
}Semantic roles & 50–950 ramp
primary
#8E397A
secondary
#71B280
accent
#D27355
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E