#8E196D#8E196D
#8E196D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.172 H 342.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8E196D |
|---|---|
| RGB | rgb(142, 25, 109) |
| HSL | hsl(317, 70%, 33%) |
| HSV | hsv(317, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 23.2%, 44.3%) |
| CIE-LAB | lab(33.03, 54.37, -19.15) |
| CIE-LCH | lch(33.03, 57.64, 340.60°) |
| OKLab | oklab(44.56% 0.164 -0.0514) |
| OKLCH | oklch(44.56% 0.172 342.6) |
| XYZ | xyz(14.2638, 7.5517, 15.1715) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.79
Dark Magenta
#960056
ΔE00 6.32
Darkish Purple
#751973
ΔE00 6.49
Velvet
#750851
ΔE00 6.50
Rich Purple
#720058
ΔE00 6.56
Deep Magenta
#A0025C
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E196D #198E3A
analogous
#74198E #8E196D #8E1932
triadic
#8E196D #6D8E19 #196D8E
tetradic
#8E196D #8E7419 #198E3A #19328E
square
#8E196D #8E7419 #198E3A #19328E
split-complementary
#8E196D #328E19 #198E74
monochromatic
#26071D #5A1045 #8E196D #C22295 #DE43B2
Accessibility & contrast
On white
8.37
#8E196D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8E196D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E196D
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E196D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E196D | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#971A42
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e196d; /* rgb */ color: rgb(142, 25, 109); /* oklch */ color: oklch(44.6% 0.172 342.6);
Tailwind
colors: {
custom: {
50: '#b36597',
500: '#8e196d',
950: '#000000',
},
}SCSS
$custom: #8e196d; $custom-light: #b36597; $custom-dark: #000000;
JSON
{
"hex": "#8e196d",
"rgb": {
"r": 142,
"g": 25,
"b": 109
},
"hsl": {
"h": 316.923,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.44556,
"c": 0.17183,
"h": 342.6
},
"luminance": 0.0755
}Semantic roles & 50–950 ramp
primary
#8E196D
secondary
#44BF67
accent
#ED6D3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E