#8E1672#8E1672
#8E1672 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.178 H 340.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1672 |
|---|---|
| RGB | rgb(142, 22, 114) |
| HSL | hsl(314, 73%, 32%) |
| HSV | hsv(314, 85%, 56%) |
| CMYK | cmyk(0%, 84.5%, 19.7%, 44.3%) |
| CIE-LAB | lab(33.01, 55.80, -22.37) |
| CIE-LCH | lch(33.01, 60.12, 338.16°) |
| OKLab | oklab(44.62% 0.1669 -0.0605) |
| OKLCH | oklch(44.62% 0.178 340.1) |
| XYZ | xyz(14.4800, 7.5410, 16.6093) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.68
Darkish Purple
#751973
ΔE00 5.65
Purple
#800080
ΔE00 5.98
Darkmagenta
#8B008B
ΔE00 5.98
Warm Purple
#952E8F
ΔE00 6.13
Rich Purple
#720058
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1672 #168E32
analogous
#6E168E #8E1672 #8E1636
triadic
#8E1672 #728E16 #16728E
tetradic
#8E1672 #8E6E16 #168E32 #16368E
square
#8E1672 #8E6E16 #168E32 #16368E
split-complementary
#8E1672 #368E16 #168E6E
monochromatic
#24061D #590E47 #8E1672 #C31E9D #E13DBB
Accessibility & contrast
On white
8.37
#8E1672 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8E1672 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1672
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1672 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1672 | 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)
#214274
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#971B44
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e1672; /* rgb */ color: rgb(142, 22, 114); /* oklch */ color: oklch(44.6% 0.178 340.1);
Tailwind
colors: {
custom: {
50: '#b3649b',
500: '#8e1672',
950: '#000000',
},
}SCSS
$custom: #8e1672; $custom-light: #b3649b; $custom-dark: #000000;
JSON
{
"hex": "#8e1672",
"rgb": {
"r": 142,
"g": 22,
"b": 114
},
"hsl": {
"h": 314,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.44617,
"c": 0.17757,
"h": 340.1
},
"luminance": 0.0754
}Semantic roles & 50–950 ramp
primary
#8E1672
secondary
#3FC15D
accent
#F06338
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E