#8E2E76#8E2E76
#8E2E76 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.153 H 339.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2E76 |
|---|---|
| RGB | rgb(142, 46, 118) |
| HSL | hsl(315, 51%, 37%) |
| HSV | hsv(315, 68%, 56%) |
| CMYK | cmyk(0%, 67.6%, 16.9%, 44.3%) |
| CIE-LAB | lab(36.01, 48.41, -20.22) |
| CIE-LCH | lch(36.01, 52.46, 337.33°) |
| OKLab | oklab(46.85% 0.1434 -0.0546) |
| OKLCH | oklch(46.85% 0.153 339.2) |
| XYZ | xyz(15.4027, 9.0142, 18.0647) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.06
Bruise
#7E4071
ΔE00 5.09
Light Eggplant
#894585
ΔE00 5.56
Red Violet
#9E0168
ΔE00 5.63
Darkish Purple
#751973
ΔE00 7.23
Grape
#6C3461
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2E76 #2E8E46
analogous
#762E8E #8E2E76 #8E2E46
triadic
#8E2E76 #768E2E #2E768E
tetradic
#8E2E76 #8E762E #2E8E46 #2E468E
square
#8E2E76 #8E762E #2E8E46 #2E468E
split-complementary
#8E2E76 #468E2E #2E8E76
monochromatic
#321029 #601F50 #8E2E76 #BC3D9C #CE68B5
Accessibility & contrast
On white
7.49
#8E2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8E2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2E76
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2E76 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#515A74
Tritanopia (blue-blind)
#96314E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e2e76; /* rgb */ color: rgb(142, 46, 118); /* oklch */ color: oklch(46.9% 0.153 339.2);
Tailwind
colors: {
custom: {
50: '#b26e9d',
500: '#8e2e76',
950: '#000000',
},
}SCSS
$custom: #8e2e76; $custom-light: #b26e9d; $custom-dark: #000000;
JSON
{
"hex": "#8e2e76",
"rgb": {
"r": 142,
"g": 46,
"b": 118
},
"hsl": {
"h": 315,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.46854,
"c": 0.15345,
"h": 339.2
},
"luminance": 0.09013
}Semantic roles & 50–950 ramp
primary
#8E2E76
secondary
#63B577
accent
#DB714D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E