#8E2973#8E2973
#8E2973 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.158 H 340.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2973 |
|---|---|
| RGB | rgb(142, 41, 115) |
| HSL | hsl(316, 55%, 36%) |
| HSV | hsv(316, 71%, 56%) |
| CMYK | cmyk(0%, 71.1%, 19%, 44.3%) |
| CIE-LAB | lab(35.15, 49.97, -19.66) |
| CIE-LCH | lch(35.15, 53.70, 338.52°) |
| OKLab | oklab(46.18% 0.1489 -0.053) |
| OKLCH | oklch(46.18% 0.158 340.4) |
| XYZ | xyz(15.0432, 8.5759, 17.0794) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.90
Warm Purple
#952E8F
ΔE00 5.59
Bruise
#7E4071
ΔE00 5.68
Light Eggplant
#894585
ΔE00 6.50
Darkish Purple
#751973
ΔE00 6.94
Grape
#6C3461
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2973 #298E44
analogous
#76298E #8E2973 #8E2940
triadic
#8E2973 #738E29 #29738E
tetradic
#8E2973 #8E7629 #298E44 #29408E
square
#8E2973 #8E7629 #298E44 #29408E
split-complementary
#8E2973 #408E29 #298E76
monochromatic
#2F0E26 #5F1B4D #8E2973 #BD3799 #D160B3
Accessibility & contrast
On white
7.74
#8E2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8E2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2973
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2973 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#972C4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2973; /* rgb */ color: rgb(142, 41, 115); /* oklch */ color: oklch(46.2% 0.158 340.4);
Tailwind
colors: {
custom: {
50: '#b26c9b',
500: '#8e2973',
950: '#000000',
},
}SCSS
$custom: #8e2973; $custom-light: #b26c9b; $custom-dark: #000000;
JSON
{
"hex": "#8e2973",
"rgb": {
"r": 142,
"g": 41,
"b": 115
},
"hsl": {
"h": 316.04,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.46185,
"c": 0.15808,
"h": 340.4
},
"luminance": 0.08574
}Semantic roles & 50–950 ramp
primary
#8E2973
secondary
#5CB774
accent
#DF7149
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E