#8E2976#8E2976
#8E2976 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.160 H 338.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2976 |
|---|---|
| RGB | rgb(142, 41, 118) |
| HSL | hsl(314, 55%, 36%) |
| HSV | hsv(314, 71%, 56%) |
| CMYK | cmyk(0%, 71.1%, 16.9%, 44.3%) |
| CIE-LAB | lab(35.29, 50.41, -21.34) |
| CIE-LCH | lch(35.29, 54.74, 337.06°) |
| OKLab | oklab(46.33% 0.1494 -0.0577) |
| OKLCH | oklch(46.33% 0.16 338.9) |
| XYZ | xyz(15.2186, 8.6461, 18.0034) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.93
Red Violet
#9E0168
ΔE00 5.37
Bruise
#7E4071
ΔE00 5.78
Light Eggplant
#894585
ΔE00 6.20
Darkish Purple
#751973
ΔE00 6.59
Darkmagenta
#8B008B
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2976 #298E41
analogous
#73298E #8E2976 #8E2944
triadic
#8E2976 #768E29 #29768E
tetradic
#8E2976 #8E7329 #298E41 #29448E
square
#8E2976 #8E7329 #298E41 #29448E
split-complementary
#8E2976 #448E29 #298E73
monochromatic
#2F0E27 #5F1B4F #8E2976 #BD379D #D160B6
Accessibility & contrast
On white
7.70
#8E2976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#8E2976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2976
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2976 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#4E5974
Tritanopia (blue-blind)
#962D4C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2976; /* rgb */ color: rgb(142, 41, 118); /* oklch */ color: oklch(46.3% 0.160 338.9);
Tailwind
colors: {
custom: {
50: '#b26c9d',
500: '#8e2976',
950: '#000000',
},
}SCSS
$custom: #8e2976; $custom-light: #b26c9d; $custom-dark: #000000;
JSON
{
"hex": "#8e2976",
"rgb": {
"r": 142,
"g": 41,
"b": 118
},
"hsl": {
"h": 314.257,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.46331,
"c": 0.16019,
"h": 338.9
},
"luminance": 0.08645
}Semantic roles & 50–950 ramp
primary
#8E2976
secondary
#5CB772
accent
#DF6D49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E