#8E2076#8E2076
#8E2076 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 338.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2076 |
|---|---|
| RGB | rgb(142, 32, 118) |
| HSL | hsl(313, 63%, 34%) |
| HSV | hsv(313, 77%, 56%) |
| CMYK | cmyk(0%, 77.5%, 16.9%, 44.3%) |
| CIE-LAB | lab(34.18, 53.58, -23.07) |
| CIE-LCH | lch(34.18, 58.33, 336.70°) |
| OKLab | oklab(45.52% 0.159 -0.0626) |
| OKLCH | oklch(45.52% 0.171 338.5) |
| XYZ | xyz(14.9422, 8.0933, 17.9112) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.06
Red Violet
#9E0168
ΔE00 5.24
Darkish Purple
#751973
ΔE00 5.75
Darkmagenta
#8B008B
ΔE00 5.84
Purple
#800080
ΔE00 6.12
Barney Purple
#A00498
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2076 #208E38
analogous
#6F208E #8E2076 #8E203F
triadic
#8E2076 #768E20 #20768E
tetradic
#8E2076 #8E6F20 #208E38 #203F8E
square
#8E2076 #8E6F20 #208E38 #203F8E
split-complementary
#8E2076 #3F8E20 #208E6F
monochromatic
#2A0923 #5C154C #8E2076 #C02BA0 #D851BA
Accessibility & contrast
On white
8.02
#8E2076 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8E2076 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2076
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2076 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2076 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#962649
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e2076; /* rgb */ color: rgb(142, 32, 118); /* oklch */ color: oklch(45.5% 0.171 338.5);
Tailwind
colors: {
custom: {
50: '#b3689d',
500: '#8e2076',
950: '#000000',
},
}SCSS
$custom: #8e2076; $custom-light: #b3689d; $custom-dark: #000000;
JSON
{
"hex": "#8e2076",
"rgb": {
"r": 142,
"g": 32,
"b": 118
},
"hsl": {
"h": 313.091,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.45522,
"c": 0.17083,
"h": 338.5
},
"luminance": 0.08092
}Semantic roles & 50–950 ramp
primary
#8E2076
secondary
#4FBB66
accent
#E66542
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E