#8E306D#8E306D
#8E306D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.144 H 344.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8E306D |
|---|---|
| RGB | rgb(142, 48, 109) |
| HSL | hsl(321, 49%, 37%) |
| HSV | hsv(321, 66%, 56%) |
| CMYK | cmyk(0%, 66.2%, 23.2%, 44.3%) |
| CIE-LAB | lab(35.93, 46.22, -14.69) |
| CIE-LCH | lch(35.93, 48.50, 342.36°) |
| OKLab | oklab(46.66% 0.139 -0.0391) |
| OKLCH | oklch(46.66% 0.144 344.3) |
| XYZ | xyz(14.9731, 8.9703, 15.4079) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.88
Bruise
#7E4071
ΔE00 4.95
Deep Magenta
#A0025C
ΔE00 6.56
Dark Fuchsia
#9D0759
ΔE00 6.73
Light Eggplant
#894585
ΔE00 6.75
Dark Magenta
#960056
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E306D #308E51
analogous
#80308E #8E306D #8E303E
triadic
#8E306D #6D8E30 #306D8E
tetradic
#8E306D #8E8030 #308E51 #303E8E
square
#8E306D #8E8030 #308E51 #303E8E
split-complementary
#8E306D #3E8E30 #308E80
monochromatic
#331127 #60214A #8E306D #BC3F90 #CD6BAB
Accessibility & contrast
On white
7.52
#8E306D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#8E306D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E306D
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E306D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E306D | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394A6F
Deuteranopia (green-blind)
#555A6B
Tritanopia (blue-blind)
#972F4A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e306d; /* rgb */ color: rgb(142, 48, 109); /* oklch */ color: oklch(46.7% 0.144 344.3);
Tailwind
colors: {
custom: {
50: '#b26f97',
500: '#8e306d',
950: '#000000',
},
}SCSS
$custom: #8e306d; $custom-light: #b26f97; $custom-dark: #000000;
JSON
{
"hex": "#8e306d",
"rgb": {
"r": 142,
"g": 48,
"b": 109
},
"hsl": {
"h": 321.064,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.46664,
"c": 0.14437,
"h": 344.3
},
"luminance": 0.08969
}Semantic roles & 50–950 ramp
primary
#8E306D
secondary
#65B481
accent
#D97F4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E