#8E186E#8E186E
#8E186E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 342.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8E186E |
|---|---|
| RGB | rgb(142, 24, 110) |
| HSL | hsl(316, 71%, 33%) |
| HSV | hsv(316, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 22.5%, 44.3%) |
| CIE-LAB | lab(32.99, 54.76, -19.85) |
| CIE-LCH | lch(32.99, 58.25, 340.07°) |
| OKLab | oklab(44.54% 0.1649 -0.0534) |
| OKLCH | oklch(44.54% 0.173 342.1) |
| XYZ | xyz(14.2970, 7.5314, 15.4496) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.96
Darkish Purple
#751973
ΔE00 6.29
Rich Purple
#720058
ΔE00 6.53
Dark Magenta
#960056
ΔE00 6.56
Velvet
#750851
ΔE00 6.60
Warm Purple
#952E8F
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E186E #188E38
analogous
#73188E #8E186E #8E1833
triadic
#8E186E #6E8E18 #186E8E
tetradic
#8E186E #8E7318 #188E38 #18338E
square
#8E186E #8E7318 #188E38 #18338E
split-complementary
#8E186E #338E18 #188E73
monochromatic
#25061D #5A0F45 #8E186E #C22197 #DF41B4
Accessibility & contrast
On white
8.38
#8E186E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8E186E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E186E
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E186E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E186E | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#4C546B
Tritanopia (blue-blind)
#971A42
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e186e; /* rgb */ color: rgb(142, 24, 110); /* oklch */ color: oklch(44.5% 0.173 342.1);
Tailwind
colors: {
custom: {
50: '#b36597',
500: '#8e186e',
950: '#000000',
},
}SCSS
$custom: #8e186e; $custom-light: #b36597; $custom-dark: #000000;
JSON
{
"hex": "#8e186e",
"rgb": {
"r": 142,
"g": 24,
"b": 110
},
"hsl": {
"h": 316.271,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.44539,
"c": 0.17334,
"h": 342.1
},
"luminance": 0.0753
}Semantic roles & 50–950 ramp
primary
#8E186E
secondary
#42C064
accent
#EE6B3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E