#8E196F#8E196F
#8E196F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.173 H 341.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8E196F |
|---|---|
| RGB | rgb(142, 25, 111) |
| HSL | hsl(316, 70%, 33%) |
| HSV | hsv(316, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 21.8%, 44.3%) |
| CIE-LAB | lab(33.13, 54.63, -20.28) |
| CIE-LCH | lch(33.13, 58.28, 339.64°) |
| OKLab | oklab(44.65% 0.1643 -0.0546) |
| OKLCH | oklch(44.65% 0.173 341.6) |
| XYZ | xyz(14.3727, 7.5953, 15.7450) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.11
Darkish Purple
#751973
ΔE00 6.19
Warm Purple
#952E8F
ΔE00 6.59
Rich Purple
#720058
ΔE00 6.64
Purple
#800080
ΔE00 6.76
Velvet
#750851
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E196F #198E38
analogous
#72198E #8E196F #8E1935
triadic
#8E196F #6F8E19 #196F8E
tetradic
#8E196F #8E7219 #198E38 #19358E
square
#8E196F #8E7219 #198E38 #19358E
split-complementary
#8E196F #358E19 #198E72
monochromatic
#26071E #5A1046 #8E196F #C22298 #DE43B5
Accessibility & contrast
On white
8.34
#8E196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#8E196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E196F
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E196F | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#971C43
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e196f; /* rgb */ color: rgb(142, 25, 111); /* oklch */ color: oklch(44.7% 0.173 341.6);
Tailwind
colors: {
custom: {
50: '#b36598',
500: '#8e196f',
950: '#000000',
},
}SCSS
$custom: #8e196f; $custom-light: #b36598; $custom-dark: #000000;
JSON
{
"hex": "#8e196f",
"rgb": {
"r": 142,
"g": 25,
"b": 111
},
"hsl": {
"h": 315.897,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.44654,
"c": 0.17308,
"h": 341.6
},
"luminance": 0.07594
}Semantic roles & 50–950 ramp
primary
#8E196F
secondary
#44BF64
accent
#ED6A3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E