#8E186D#8E186D
#8E186D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 342.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8E186D |
|---|---|
| RGB | rgb(142, 24, 109) |
| HSL | hsl(317, 71%, 33%) |
| HSV | hsv(317, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 23.2%, 44.3%) |
| CIE-LAB | lab(32.94, 54.63, -19.29) |
| CIE-LCH | lch(32.94, 57.93, 340.55°) |
| OKLab | oklab(44.49% 0.1648 -0.0518) |
| OKLCH | oklch(44.49% 0.173 342.6) |
| XYZ | xyz(14.2428, 7.5097, 15.1645) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.81
Dark Magenta
#960056
ΔE00 6.34
Darkish Purple
#751973
ΔE00 6.44
Velvet
#750851
ΔE00 6.47
Rich Purple
#720058
ΔE00 6.50
Deep Magenta
#A0025C
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E186D #188E39
analogous
#74188E #8E186D #8E1832
triadic
#8E186D #6D8E18 #186D8E
tetradic
#8E186D #8E7418 #188E39 #18328E
square
#8E186D #8E7418 #188E39 #18328E
split-complementary
#8E186D #328E18 #188E74
monochromatic
#25061D #5A0F45 #8E186D #C22195 #DF41B3
Accessibility & contrast
On white
8.39
#8E186D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E186D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E186D
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E186D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E186D | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#971942
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e186d; /* rgb */ color: rgb(142, 24, 109); /* oklch */ color: oklch(44.5% 0.173 342.6);
Tailwind
colors: {
custom: {
50: '#b36597',
500: '#8e186d',
950: '#000000',
},
}SCSS
$custom: #8e186d; $custom-light: #b36597; $custom-dark: #000000;
JSON
{
"hex": "#8e186d",
"rgb": {
"r": 142,
"g": 24,
"b": 109
},
"hsl": {
"h": 316.78,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.4449,
"c": 0.17271,
"h": 342.6
},
"luminance": 0.07508
}Semantic roles & 50–950 ramp
primary
#8E186D
secondary
#42C065
accent
#EE6C3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E