#8E1371#8E1371
#8E1371 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.179 H 340.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1371 |
|---|---|
| RGB | rgb(142, 19, 113) |
| HSL | hsl(314, 76%, 32%) |
| HSV | hsv(314, 87%, 56%) |
| CMYK | cmyk(0%, 86.6%, 20.4%, 44.3%) |
| CIE-LAB | lab(32.72, 56.35, -22.18) |
| CIE-LCH | lch(32.72, 60.55, 338.52°) |
| OKLab | oklab(44.4% 0.1689 -0.0599) |
| OKLCH | oklch(44.4% 0.179 340.5) |
| XYZ | xyz(14.3693, 7.4103, 16.2932) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.58
Darkish Purple
#751973
ΔE00 5.67
Purple
#800080
ΔE00 5.99
Darkmagenta
#8B008B
ΔE00 6.06
Warm Purple
#952E8F
ΔE00 6.40
Rich Purple
#720058
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1371 #138E30
analogous
#6E138E #8E1371 #8E1334
triadic
#8E1371 #718E13 #13718E
tetradic
#8E1371 #8E6E13 #138E30 #13348E
square
#8E1371 #8E6E13 #138E30 #13348E
split-complementary
#8E1371 #348E13 #138E6E
monochromatic
#22051B #580C46 #8E1371 #C41A9C #E437BB
Accessibility & contrast
On white
8.46
#8E1371 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8E1371 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1371
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1371 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#49546E
Tritanopia (blue-blind)
#971843
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e1371; /* rgb */ color: rgb(142, 19, 113); /* oklch */ color: oklch(44.4% 0.179 340.5);
Tailwind
colors: {
custom: {
50: '#b3649a',
500: '#8e1371',
950: '#000000',
},
}SCSS
$custom: #8e1371; $custom-light: #b3649a; $custom-dark: #000000;
JSON
{
"hex": "#8e1371",
"rgb": {
"r": 142,
"g": 19,
"b": 113
},
"hsl": {
"h": 314.146,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.44397,
"c": 0.17924,
"h": 340.5
},
"luminance": 0.07409
}Semantic roles & 50–950 ramp
primary
#8E1371
secondary
#3BC25B
accent
#F36235
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E