#8E1E6F#8E1E6F
#8E1E6F is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.168 H 341.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1E6F |
|---|---|
| RGB | rgb(142, 30, 111) |
| HSL | hsl(317, 65%, 34%) |
| HSV | hsv(317, 79%, 56%) |
| CMYK | cmyk(0%, 78.9%, 21.8%, 44.3%) |
| CIE-LAB | lab(33.62, 53.21, -19.51) |
| CIE-LCH | lch(33.62, 56.67, 339.87°) |
| OKLab | oklab(45.01% 0.1599 -0.0524) |
| OKLCH | oklch(45.01% 0.168 341.8) |
| XYZ | xyz(14.4893, 7.8285, 15.7838) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.06
Darkish Purple
#751973
ΔE00 6.49
Warm Purple
#952E8F
ΔE00 6.49
Dark Magenta
#960056
ΔE00 6.70
Deep Magenta
#A0025C
ΔE00 6.85
Velvet
#750851
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1E6F #1E8E3D
analogous
#751E8E #8E1E6F #8E1E37
triadic
#8E1E6F #6F8E1E #1E6F8E
tetradic
#8E1E6F #8E751E #1E8E3D #1E378E
square
#8E1E6F #8E751E #1E8E3D #1E378E
split-complementary
#8E1E6F #378E1E #1E8E75
monochromatic
#290920 #5B1348 #8E1E6F #C12996 #D94DB3
Accessibility & contrast
On white
8.19
#8E1E6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8E1E6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1E6F
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1E6F | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#4D566C
Tritanopia (blue-blind)
#972044
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1e6f; /* rgb */ color: rgb(142, 30, 111); /* oklch */ color: oklch(45.0% 0.168 341.8);
Tailwind
colors: {
custom: {
50: '#b36798',
500: '#8e1e6f',
950: '#000000',
},
}SCSS
$custom: #8e1e6f; $custom-light: #b36798; $custom-dark: #000000;
JSON
{
"hex": "#8e1e6f",
"rgb": {
"r": 142,
"g": 30,
"b": 111
},
"hsl": {
"h": 316.607,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.45014,
"c": 0.16826,
"h": 341.8
},
"luminance": 0.07827
}Semantic roles & 50–950 ramp
primary
#8E1E6F
secondary
#4CBC6B
accent
#E86E40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E