#8E2276#8E2276
#8E2276 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.169 H 338.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2276 |
|---|---|
| RGB | rgb(142, 34, 118) |
| HSL | hsl(313, 61%, 35%) |
| HSV | hsv(313, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 16.9%, 44.3%) |
| CIE-LAB | lab(34.40, 52.93, -22.72) |
| CIE-LCH | lch(34.40, 57.60, 336.77°) |
| OKLab | oklab(45.69% 0.157 -0.0616) |
| OKLCH | oklch(45.69% 0.169 338.6) |
| XYZ | xyz(14.9977, 8.2043, 17.9298) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.01
Red Violet
#9E0168
ΔE00 5.24
Darkish Purple
#751973
ΔE00 5.91
Darkmagenta
#8B008B
ΔE00 6.03
Purple
#800080
ΔE00 6.34
Barney Purple
#A00498
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2276 #228E3A
analogous
#70228E #8E2276 #8E2240
triadic
#8E2276 #768E22 #22768E
tetradic
#8E2276 #8E7022 #228E3A #22408E
square
#8E2276 #8E7022 #228E3A #22408E
split-complementary
#8E2276 #408E22 #228E70
monochromatic
#2B0A24 #5D164D #8E2276 #BF2E9F #D654B9
Accessibility & contrast
On white
7.95
#8E2276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8E2276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2276
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2276 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#962749
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2276; /* rgb */ color: rgb(142, 34, 118); /* oklch */ color: oklch(45.7% 0.169 338.6);
Tailwind
colors: {
custom: {
50: '#b3699d',
500: '#8e2276',
950: '#000000',
},
}SCSS
$custom: #8e2276; $custom-light: #b3699d; $custom-dark: #000000;
JSON
{
"hex": "#8e2276",
"rgb": {
"r": 142,
"g": 34,
"b": 118
},
"hsl": {
"h": 313.333,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.45687,
"c": 0.16864,
"h": 338.6
},
"luminance": 0.08203
}Semantic roles & 50–950 ramp
primary
#8E2276
secondary
#52BA69
accent
#E46743
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E