#8E2371#8E2371
#8E2371 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.164 H 341.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2371 |
|---|---|
| RGB | rgb(142, 35, 113) |
| HSL | hsl(316, 60%, 35%) |
| HSV | hsv(316, 75%, 56%) |
| CMYK | cmyk(0%, 75.4%, 20.4%, 44.3%) |
| CIE-LAB | lab(34.29, 51.86, -19.75) |
| CIE-LCH | lch(34.29, 55.50, 339.16°) |
| OKLab | oklab(45.52% 0.1552 -0.0532) |
| OKLCH | oklch(45.52% 0.164 341.1) |
| XYZ | xyz(14.7375, 8.1466, 16.4159) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.41
Warm Purple
#952E8F
ΔE00 6.01
Bruise
#7E4071
ΔE00 6.41
Darkish Purple
#751973
ΔE00 6.59
Dark Magenta
#960056
ΔE00 7.11
Deep Magenta
#A0025C
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2371 #238E40
analogous
#76238E #8E2371 #8E233B
triadic
#8E2371 #718E23 #23718E
tetradic
#8E2371 #8E7623 #238E40 #233B8E
square
#8E2371 #8E7623 #238E40 #233B8E
split-complementary
#8E2371 #3B8E23 #238E76
monochromatic
#2C0B23 #5D174A #8E2371 #BF2F98 #D556B3
Accessibility & contrast
On white
7.99
#8E2371 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8E2371 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2371
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2371 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#972547
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2371; /* rgb */ color: rgb(142, 35, 113); /* oklch */ color: oklch(45.5% 0.164 341.1);
Tailwind
colors: {
custom: {
50: '#b3699a',
500: '#8e2371',
950: '#000000',
},
}SCSS
$custom: #8e2371; $custom-light: #b3699a; $custom-dark: #000000;
JSON
{
"hex": "#8e2371",
"rgb": {
"r": 142,
"g": 35,
"b": 113
},
"hsl": {
"h": 316.262,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.45524,
"c": 0.16409,
"h": 341.1
},
"luminance": 0.08145
}Semantic roles & 50–950 ramp
primary
#8E2371
secondary
#53B96F
accent
#E46F44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E