#8E2279#8E2279
#8E2279 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.171 H 337.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2279 |
|---|---|
| RGB | rgb(142, 34, 121) |
| HSL | hsl(312, 61%, 35%) |
| HSV | hsv(312, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 14.8%, 44.3%) |
| CIE-LAB | lab(34.55, 53.37, -24.37) |
| CIE-LCH | lch(34.55, 58.67, 335.45°) |
| OKLab | oklab(45.84% 0.1574 -0.0663) |
| OKLCH | oklch(45.84% 0.171 337.2) |
| XYZ | xyz(15.1788, 8.2767, 18.8836) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.45
Darkmagenta
#8B008B
ΔE00 5.45
Darkish Purple
#751973
ΔE00 5.65
Red Violet
#9E0168
ΔE00 5.78
Purple
#800080
ΔE00 5.89
Barney Purple
#A00498
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2279 #228E37
analogous
#6D228E #8E2279 #8E2243
triadic
#8E2279 #798E22 #22798E
tetradic
#8E2279 #8E6D22 #228E37 #22438E
square
#8E2279 #8E6D22 #228E37 #22438E
split-complementary
#8E2279 #438E22 #228E6D
monochromatic
#2B0A25 #5D164F #8E2279 #BF2EA3 #D654BD
Accessibility & contrast
On white
7.91
#8E2279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8E2279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2279
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2279 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#4B5776
Tritanopia (blue-blind)
#96294B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2279; /* rgb */ color: rgb(142, 34, 121); /* oklch */ color: oklch(45.8% 0.171 337.2);
Tailwind
colors: {
custom: {
50: '#b369a0',
500: '#8e2279',
950: '#000000',
},
}SCSS
$custom: #8e2279; $custom-light: #b369a0; $custom-dark: #000000;
JSON
{
"hex": "#8e2279",
"rgb": {
"r": 142,
"g": 34,
"b": 121
},
"hsl": {
"h": 311.667,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.45842,
"c": 0.17075,
"h": 337.2
},
"luminance": 0.08275
}Semantic roles & 50–950 ramp
primary
#8E2279
secondary
#52BA66
accent
#E46343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E