#8E2B71#8E2B71
#8E2B71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.154 H 341.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2B71 |
|---|---|
| RGB | rgb(142, 43, 113) |
| HSL | hsl(318, 54%, 36%) |
| HSV | hsv(318, 70%, 56%) |
| CMYK | cmyk(0%, 69.7%, 20.4%, 44.3%) |
| CIE-LAB | lab(35.35, 48.89, -18.11) |
| CIE-LCH | lch(35.35, 52.13, 339.67°) |
| OKLab | oklab(46.29% 0.1462 -0.0486) |
| OKLCH | oklch(46.29% 0.154 341.6) |
| XYZ | xyz(15.0003, 8.6722, 16.5035) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.74
Bruise
#7E4071
ΔE00 5.39
Warm Purple
#952E8F
ΔE00 6.10
Light Eggplant
#894585
ΔE00 6.53
Deep Magenta
#A0025C
ΔE00 7.13
Dark Magenta
#960056
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2B71 #2B8E48
analogous
#7A2B8E #8E2B71 #8E2B40
triadic
#8E2B71 #718E2B #2B718E
tetradic
#8E2B71 #8E7A2B #2B8E48 #2B408E
square
#8E2B71 #8E7A2B #2B8E48 #2B408E
split-complementary
#8E2B71 #408E2B #2B8E7A
monochromatic
#300F26 #5F1D4C #8E2B71 #BD3996 #D063B0
Accessibility & contrast
On white
7.68
#8E2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#8E2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2B71
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2B71 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#972C4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2b71; /* rgb */ color: rgb(142, 43, 113); /* oklch */ color: oklch(46.3% 0.154 341.6);
Tailwind
colors: {
custom: {
50: '#b26d9a',
500: '#8e2b71',
950: '#000000',
},
}SCSS
$custom: #8e2b71; $custom-light: #b26d9a; $custom-dark: #000000;
JSON
{
"hex": "#8e2b71",
"rgb": {
"r": 142,
"g": 43,
"b": 113
},
"hsl": {
"h": 317.576,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.46294,
"c": 0.15406,
"h": 341.6
},
"luminance": 0.08671
}Semantic roles & 50–950 ramp
primary
#8E2B71
secondary
#5FB678
accent
#DD764B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E