#8E2F71#8E2F71
#8E2F71 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.148 H 341.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2F71 |
|---|---|
| RGB | rgb(142, 47, 113) |
| HSL | hsl(318, 50%, 37%) |
| HSV | hsv(318, 67%, 56%) |
| CMYK | cmyk(0%, 66.9%, 20.4%, 44.3%) |
| CIE-LAB | lab(35.94, 47.23, -17.19) |
| CIE-LCH | lch(35.94, 50.26, 340.00°) |
| OKLab | oklab(46.73% 0.1412 -0.0461) |
| OKLCH | oklch(46.73% 0.149 341.9) |
| XYZ | xyz(15.1529, 8.9775, 16.5544) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.88
Red Violet
#9E0168
ΔE00 5.08
Light Eggplant
#894585
ΔE00 6.13
Warm Purple
#952E8F
ΔE00 6.29
Grape
#6C3461
ΔE00 7.14
Deep Magenta
#A0025C
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2F71 #2F8E4C
analogous
#7C2F8E #8E2F71 #8E2F41
triadic
#8E2F71 #718E2F #2F718E
tetradic
#8E2F71 #8E7C2F #2F8E4C #2F418E
square
#8E2F71 #8E7C2F #2F8E4C #2F418E
split-complementary
#8E2F71 #418E2F #2F8E7C
monochromatic
#321128 #60204C #8E2F71 #BC3E96 #CE6AAF
Accessibility & contrast
On white
7.51
#8E2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8E2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2F71
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2F71 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#97304B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e2f71; /* rgb */ color: rgb(142, 47, 113); /* oklch */ color: oklch(46.7% 0.148 341.9);
Tailwind
colors: {
custom: {
50: '#b26f9a',
500: '#8e2f71',
950: '#000000',
},
}SCSS
$custom: #8e2f71; $custom-light: #b26f9a; $custom-dark: #000000;
JSON
{
"hex": "#8e2f71",
"rgb": {
"r": 142,
"g": 47,
"b": 113
},
"hsl": {
"h": 318.316,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.46729,
"c": 0.1485,
"h": 341.9
},
"luminance": 0.08976
}Semantic roles & 50–950 ramp
primary
#8E2F71
secondary
#64B57D
accent
#DA794E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E