#8E1372#8E1372
#8E1372 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.180 H 340.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1372 |
|---|---|
| RGB | rgb(142, 19, 114) |
| HSL | hsl(314, 76%, 32%) |
| HSV | hsv(314, 87%, 56%) |
| CMYK | cmyk(0%, 86.6%, 19.7%, 44.3%) |
| CIE-LAB | lab(32.77, 56.48, -22.73) |
| CIE-LCH | lch(32.77, 60.88, 338.08°) |
| OKLab | oklab(44.45% 0.169 -0.0615) |
| OKLCH | oklch(44.45% 0.18 340) |
| XYZ | xyz(14.4259, 7.4330, 16.5913) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.75
Darkish Purple
#751973
ΔE00 5.55
Purple
#800080
ΔE00 5.80
Darkmagenta
#8B008B
ΔE00 5.84
Warm Purple
#952E8F
ΔE00 6.23
Rich Purple
#720058
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1372 #138E2F
analogous
#6D138E #8E1372 #8E1334
triadic
#8E1372 #728E13 #13728E
tetradic
#8E1372 #8E6D13 #138E2F #13348E
square
#8E1372 #8E6D13 #138E2F #13348E
split-complementary
#8E1372 #348E13 #138E6D
monochromatic
#22051B #580C47 #8E1372 #C41A9D #E437BD
Accessibility & contrast
On white
8.45
#8E1372 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8E1372 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1372
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1372 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1372 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#971943
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e1372; /* rgb */ color: rgb(142, 19, 114); /* oklch */ color: oklch(44.4% 0.180 340.0);
Tailwind
colors: {
custom: {
50: '#b3649b',
500: '#8e1372',
950: '#000000',
},
}SCSS
$custom: #8e1372; $custom-light: #b3649b; $custom-dark: #000000;
JSON
{
"hex": "#8e1372",
"rgb": {
"r": 142,
"g": 19,
"b": 114
},
"hsl": {
"h": 313.659,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.44448,
"c": 0.17988,
"h": 340
},
"luminance": 0.07431
}Semantic roles & 50–950 ramp
primary
#8E1372
secondary
#3BC25A
accent
#F36035
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E