#8E2278#8E2278
#8E2278 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 337.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2278 |
|---|---|
| RGB | rgb(142, 34, 120) |
| HSL | hsl(312, 61%, 35%) |
| HSV | hsv(312, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 15.5%, 44.3%) |
| CIE-LAB | lab(34.50, 53.22, -23.82) |
| CIE-LCH | lch(34.50, 58.31, 335.89°) |
| OKLab | oklab(45.79% 0.1572 -0.0647) |
| OKLCH | oklch(45.79% 0.17 337.6) |
| XYZ | xyz(15.1178, 8.2523, 18.5623) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.63
Red Violet
#9E0168
ΔE00 5.59
Darkmagenta
#8B008B
ΔE00 5.64
Darkish Purple
#751973
ΔE00 5.73
Purple
#800080
ΔE00 6.03
Barney Purple
#A00498
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2278 #228E38
analogous
#6E228E #8E2278 #8E2242
triadic
#8E2278 #788E22 #22788E
tetradic
#8E2278 #8E6E22 #228E38 #22428E
square
#8E2278 #8E6E22 #228E38 #22428E
split-complementary
#8E2278 #428E22 #228E6E
monochromatic
#2B0A25 #5D164E #8E2278 #BF2EA2 #D654BC
Accessibility & contrast
On white
7.92
#8E2278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8E2278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2278
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2278 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26477A
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#96284B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2278; /* rgb */ color: rgb(142, 34, 120); /* oklch */ color: oklch(45.8% 0.170 337.6);
Tailwind
colors: {
custom: {
50: '#b3699f',
500: '#8e2278',
950: '#000000',
},
}SCSS
$custom: #8e2278; $custom-light: #b3699f; $custom-dark: #000000;
JSON
{
"hex": "#8e2278",
"rgb": {
"r": 142,
"g": 34,
"b": 120
},
"hsl": {
"h": 312.222,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.4579,
"c": 0.17004,
"h": 337.6
},
"luminance": 0.08251
}Semantic roles & 50–950 ramp
primary
#8E2278
secondary
#52BA67
accent
#E46443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E