#8E2074#8E2074
#8E2074 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.169 H 339.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2074 |
|---|---|
| RGB | rgb(142, 32, 116) |
| HSL | hsl(314, 63%, 34%) |
| HSV | hsv(314, 77%, 56%) |
| CMYK | cmyk(0%, 77.5%, 18.3%, 44.3%) |
| CIE-LAB | lab(34.08, 53.29, -21.96) |
| CIE-LCH | lch(34.08, 57.64, 337.60°) |
| OKLab | oklab(45.42% 0.1587 -0.0594) |
| OKLCH | oklch(45.42% 0.169 339.5) |
| XYZ | xyz(14.8246, 8.0462, 17.2920) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.88
Warm Purple
#952E8F
ΔE00 5.45
Darkish Purple
#751973
ΔE00 5.97
Darkmagenta
#8B008B
ΔE00 6.25
Purple
#800080
ΔE00 6.45
Barney Purple
#A00498
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2074 #208E3A
analogous
#71208E #8E2074 #8E203D
triadic
#8E2074 #748E20 #20748E
tetradic
#8E2074 #8E7120 #208E3A #203D8E
square
#8E2074 #8E7120 #208E3A #203D8E
split-complementary
#8E2074 #3D8E20 #208E71
monochromatic
#2A0922 #5C154B #8E2074 #C02B9D #D851B8
Accessibility & contrast
On white
8.05
#8E2074 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#8E2074 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2074
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2074 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#972448
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e2074; /* rgb */ color: rgb(142, 32, 116); /* oklch */ color: oklch(45.4% 0.169 339.5);
Tailwind
colors: {
custom: {
50: '#b3689c',
500: '#8e2074',
950: '#000000',
},
}SCSS
$custom: #8e2074; $custom-light: #b3689c; $custom-dark: #000000;
JSON
{
"hex": "#8e2074",
"rgb": {
"r": 142,
"g": 32,
"b": 116
},
"hsl": {
"h": 314.182,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.4542,
"c": 0.16946,
"h": 339.5
},
"luminance": 0.08045
}Semantic roles & 50–950 ramp
primary
#8E2074
secondary
#4FBB68
accent
#E66842
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E