#8E236D#8E236D
#8E236D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.161 H 343.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E236D |
|---|---|
| RGB | rgb(142, 35, 109) |
| HSL | hsl(319, 60%, 35%) |
| HSV | hsv(319, 75%, 56%) |
| CMYK | cmyk(0%, 75.4%, 23.2%, 44.3%) |
| CIE-LAB | lab(34.10, 51.30, -17.49) |
| CIE-LCH | lch(34.10, 54.20, 341.17°) |
| OKLab | oklab(45.33% 0.1545 -0.0468) |
| OKLCH | oklch(45.33% 0.161 343.1) |
| XYZ | xyz(14.5172, 8.0585, 15.2559) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.84
Dark Magenta
#960056
ΔE00 6.25
Deep Magenta
#A0025C
ΔE00 6.35
Bruise
#7E4071
ΔE00 6.44
Dark Fuchsia
#9D0759
ΔE00 6.59
Warm Purple
#952E8F
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E236D #238E44
analogous
#7A238E #8E236D #8E2337
triadic
#8E236D #6D8E23 #236D8E
tetradic
#8E236D #8E7A23 #238E44 #23378E
square
#8E236D #8E7A23 #238E44 #23378E
split-complementary
#8E236D #378E23 #238E7A
monochromatic
#2C0B22 #5D1747 #8E236D #BF2F93 #D556AE
Accessibility & contrast
On white
8.04
#8E236D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#8E236D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E236D
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E236D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E236D | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#4F576B
Tritanopia (blue-blind)
#972345
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e236d; /* rgb */ color: rgb(142, 35, 109); /* oklch */ color: oklch(45.3% 0.161 343.1);
Tailwind
colors: {
custom: {
50: '#b36997',
500: '#8e236d',
950: '#000000',
},
}SCSS
$custom: #8e236d; $custom-light: #b36997; $custom-dark: #000000;
JSON
{
"hex": "#8e236d",
"rgb": {
"r": 142,
"g": 35,
"b": 109
},
"hsl": {
"h": 318.505,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.45333,
"c": 0.16147,
"h": 343.1
},
"luminance": 0.08057
}Semantic roles & 50–950 ramp
primary
#8E236D
secondary
#53B973
accent
#E47544
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E