#8E306A#8E306A
#8E306A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.142 H 346.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8E306A |
|---|---|
| RGB | rgb(142, 48, 106) |
| HSL | hsl(323, 49%, 37%) |
| HSV | hsv(323, 66%, 56%) |
| CMYK | cmyk(0%, 66.2%, 25.4%, 44.3%) |
| CIE-LAB | lab(35.80, 45.79, -12.98) |
| CIE-LCH | lch(35.80, 47.59, 344.17°) |
| OKLab | oklab(46.53% 0.1382 -0.0344) |
| OKLCH | oklch(46.53% 0.142 346) |
| XYZ | xyz(14.8144, 8.9068, 14.5719) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.78
Bruise
#7E4071
ΔE00 5.23
Deep Magenta
#A0025C
ΔE00 6.08
Dark Fuchsia
#9D0759
ΔE00 6.19
Dark Magenta
#960056
ΔE00 6.24
Reddish Purple
#910951
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E306A #308E54
analogous
#83308E #8E306A #8E303B
triadic
#8E306A #6A8E30 #306A8E
tetradic
#8E306A #8E8330 #308E54 #303B8E
square
#8E306A #8E8330 #308E54 #303B8E
split-complementary
#8E306A #3B8E30 #308E83
monochromatic
#331126 #602148 #8E306A #BC3F8C #CD6BA8
Accessibility & contrast
On white
7.55
#8E306A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8E306A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E306A
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E306A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E306A | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4A6C
Deuteranopia (green-blind)
#555A68
Tritanopia (blue-blind)
#972E48
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e306a; /* rgb */ color: rgb(142, 48, 106); /* oklch */ color: oklch(46.5% 0.142 346.0);
Tailwind
colors: {
custom: {
50: '#b26f94',
500: '#8e306a',
950: '#000000',
},
}SCSS
$custom: #8e306a; $custom-light: #b26f94; $custom-dark: #000000;
JSON
{
"hex": "#8e306a",
"rgb": {
"r": 142,
"g": 48,
"b": 106
},
"hsl": {
"h": 322.979,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.46533,
"c": 0.14245,
"h": 346
},
"luminance": 0.08905
}Semantic roles & 50–950 ramp
primary
#8E306A
secondary
#65B484
accent
#D9844F
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E