#8E226D#8E226D
#8E226D is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.163 H 343.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8E226D |
|---|---|
| RGB | rgb(142, 34, 109) |
| HSL | hsl(318, 61%, 35%) |
| HSV | hsv(318, 76%, 56%) |
| CMYK | cmyk(0%, 76.1%, 23.2%, 44.3%) |
| CIE-LAB | lab(33.98, 51.64, -17.68) |
| CIE-LCH | lch(33.98, 54.59, 341.11°) |
| OKLab | oklab(45.25% 0.1556 -0.0473) |
| OKLCH | oklch(45.25% 0.163 343.1) |
| XYZ | xyz(14.4882, 8.0005, 15.2463) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.81
Dark Magenta
#960056
ΔE00 6.25
Deep Magenta
#A0025C
ΔE00 6.37
Bruise
#7E4071
ΔE00 6.55
Dark Fuchsia
#9D0759
ΔE00 6.61
Warm Purple
#952E8F
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E226D #228E43
analogous
#79228E #8E226D #8E2237
triadic
#8E226D #6D8E22 #226D8E
tetradic
#8E226D #8E7922 #228E43 #22378E
square
#8E226D #8E7922 #228E43 #22378E
split-complementary
#8E226D #378E22 #228E79
monochromatic
#2B0A21 #5D1647 #8E226D #BF2E93 #D654AE
Accessibility & contrast
On white
8.08
#8E226D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8E226D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E226D
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E226D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E226D | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D456F
Deuteranopia (green-blind)
#4F566B
Tritanopia (blue-blind)
#972245
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e226d; /* rgb */ color: rgb(142, 34, 109); /* oklch */ color: oklch(45.2% 0.163 343.1);
Tailwind
colors: {
custom: {
50: '#b36897',
500: '#8e226d',
950: '#000000',
},
}SCSS
$custom: #8e226d; $custom-light: #b36897; $custom-dark: #000000;
JSON
{
"hex": "#8e226d",
"rgb": {
"r": 142,
"g": 34,
"b": 109
},
"hsl": {
"h": 318.333,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.45245,
"c": 0.16263,
"h": 343.1
},
"luminance": 0.07999
}Semantic roles & 50–950 ramp
primary
#8E226D
secondary
#52BA72
accent
#E47543
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E