#8E2A76#8E2A76
#8E2A76 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.159 H 338.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2A76 |
|---|---|
| RGB | rgb(142, 42, 118) |
| HSL | hsl(314, 54%, 36%) |
| HSV | hsv(314, 70%, 56%) |
| CMYK | cmyk(0%, 70.4%, 16.9%, 44.3%) |
| CIE-LAB | lab(35.43, 50.03, -21.12) |
| CIE-LCH | lch(35.43, 54.30, 337.11°) |
| OKLab | oklab(46.43% 0.1483 -0.0571) |
| OKLCH | oklch(46.43% 0.159 338.9) |
| XYZ | xyz(15.2536, 8.7161, 18.0151) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.94
Red Violet
#9E0168
ΔE00 5.41
Bruise
#7E4071
ΔE00 5.65
Light Eggplant
#894585
ΔE00 6.07
Darkish Purple
#751973
ΔE00 6.71
Darkmagenta
#8B008B
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2A76 #2A8E42
analogous
#742A8E #8E2A76 #8E2A44
triadic
#8E2A76 #768E2A #2A768E
tetradic
#8E2A76 #8E742A #2A8E42 #2A448E
square
#8E2A76 #8E742A #2A8E42 #2A448E
split-complementary
#8E2A76 #448E2A #2A8E74
monochromatic
#300E28 #5F1C4F #8E2A76 #BD389D #D162B6
Accessibility & contrast
On white
7.66
#8E2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#8E2A76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2A76
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2A76 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#4F5974
Tritanopia (blue-blind)
#962E4C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2a76; /* rgb */ color: rgb(142, 42, 118); /* oklch */ color: oklch(46.4% 0.159 338.9);
Tailwind
colors: {
custom: {
50: '#b26c9d',
500: '#8e2a76',
950: '#000000',
},
}SCSS
$custom: #8e2a76; $custom-light: #b26c9d; $custom-dark: #000000;
JSON
{
"hex": "#8e2a76",
"rgb": {
"r": 142,
"g": 42,
"b": 118
},
"hsl": {
"h": 314.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.46432,
"c": 0.15889,
"h": 338.9
},
"luminance": 0.08715
}Semantic roles & 50–950 ramp
primary
#8E2A76
secondary
#5DB673
accent
#DE6E4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E