#8E2E71#8E2E71
#8E2E71 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.150 H 341.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2E71 |
|---|---|
| RGB | rgb(142, 46, 113) |
| HSL | hsl(318, 51%, 37%) |
| HSV | hsv(318, 68%, 56%) |
| CMYK | cmyk(0%, 67.6%, 20.4%, 44.3%) |
| CIE-LAB | lab(35.79, 47.66, -17.43) |
| CIE-LCH | lch(35.79, 50.74, 339.91°) |
| OKLab | oklab(46.62% 0.1425 -0.0467) |
| OKLCH | oklch(46.62% 0.15 341.8) |
| XYZ | xyz(15.1134, 8.8985, 16.5412) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.99
Bruise
#7E4071
ΔE00 5.00
Light Eggplant
#894585
ΔE00 6.23
Warm Purple
#952E8F
ΔE00 6.23
Grape
#6C3461
ΔE00 7.16
Deep Magenta
#A0025C
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2E71 #2E8E4B
analogous
#7B2E8E #8E2E71 #8E2E41
triadic
#8E2E71 #718E2E #2E718E
tetradic
#8E2E71 #8E7B2E #2E8E4B #2E418E
square
#8E2E71 #8E7B2E #2E8E4B #2E418E
split-complementary
#8E2E71 #418E2E #2E8E7B
monochromatic
#321027 #601F4C #8E2E71 #BC3D96 #CE68AF
Accessibility & contrast
On white
7.56
#8E2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8E2E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2E71
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2E71 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#972F4B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e2e71; /* rgb */ color: rgb(142, 46, 113); /* oklch */ color: oklch(46.6% 0.150 341.8);
Tailwind
colors: {
custom: {
50: '#b26e9a',
500: '#8e2e71',
950: '#000000',
},
}SCSS
$custom: #8e2e71; $custom-light: #b26e9a; $custom-dark: #000000;
JSON
{
"hex": "#8e2e71",
"rgb": {
"r": 142,
"g": 46,
"b": 113
},
"hsl": {
"h": 318.125,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.46618,
"c": 0.14993,
"h": 341.8
},
"luminance": 0.08897
}Semantic roles & 50–950 ramp
primary
#8E2E71
secondary
#63B57C
accent
#DB784D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E