#8E2377#8E2377
#8E2377 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.168 H 338.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2377 |
|---|---|
| RGB | rgb(142, 35, 119) |
| HSL | hsl(313, 60%, 35%) |
| HSV | hsv(313, 75%, 56%) |
| CMYK | cmyk(0%, 75.4%, 16.2%, 44.3%) |
| CIE-LAB | lab(34.57, 52.74, -23.09) |
| CIE-LCH | lch(34.57, 57.57, 336.36°) |
| OKLab | oklab(45.82% 0.1561 -0.0626) |
| OKLCH | oklch(45.82% 0.168 338.1) |
| XYZ | xyz(15.0865, 8.2862, 18.2540) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.79
Red Violet
#9E0168
ΔE00 5.42
Darkish Purple
#751973
ΔE00 5.90
Darkmagenta
#8B008B
ΔE00 5.94
Purple
#800080
ΔE00 6.30
Barney Purple
#A00498
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2377 #238E3A
analogous
#70238E #8E2377 #8E2342
triadic
#8E2377 #778E23 #23778E
tetradic
#8E2377 #8E7023 #238E3A #23428E
square
#8E2377 #8E7023 #238E3A #23428E
split-complementary
#8E2377 #428E23 #238E70
monochromatic
#2C0B25 #5D174E #8E2377 #BF2FA0 #D556BA
Accessibility & contrast
On white
7.90
#8E2377 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8E2377 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2377
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2377 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2377 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#4C5774
Tritanopia (blue-blind)
#96284A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2377; /* rgb */ color: rgb(142, 35, 119); /* oklch */ color: oklch(45.8% 0.168 338.1);
Tailwind
colors: {
custom: {
50: '#b3699e',
500: '#8e2377',
950: '#000000',
},
}SCSS
$custom: #8e2377; $custom-light: #b3699e; $custom-dark: #000000;
JSON
{
"hex": "#8e2377",
"rgb": {
"r": 142,
"g": 35,
"b": 119
},
"hsl": {
"h": 312.897,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.45824,
"c": 0.1682,
"h": 338.1
},
"luminance": 0.08285
}Semantic roles & 50–950 ramp
primary
#8E2377
secondary
#53B969
accent
#E46644
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E