#9E216A#9E216A
#9E216A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.173 H 350.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9E216A |
|---|---|
| RGB | rgb(158, 33, 106) |
| HSL | hsl(325, 65%, 37%) |
| HSV | hsv(325, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 32.9%, 38%) |
| CIE-LAB | lab(36.74, 55.73, -11.29) |
| CIE-LCH | lch(36.74, 56.86, 348.55°) |
| OKLab | oklab(47.76% 0.1707 -0.0294) |
| OKLCH | oklch(47.76% 0.173 350.2) |
| XYZ | xyz(17.2469, 9.3995, 14.5389) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.45
Deep Magenta
#A0025C
ΔE00 3.53
Dark Fuchsia
#9D0759
ΔE00 3.98
Dark Magenta
#960056
ΔE00 4.66
Reddish Purple
#910951
ΔE00 5.62
Violet Red
#A50055
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E216A #219E55
analogous
#94219E #9E216A #9E212C
triadic
#9E216A #6A9E21 #216A9E
tetradic
#9E216A #9E9421 #219E55 #212C9E
square
#9E216A #9E9421 #219E55 #212C9E
split-complementary
#9E216A #2C9E21 #219E94
monochromatic
#390C26 #6B1648 #9E216A #D12C8C #DD5CA8
Accessibility & contrast
On white
7.29
#9E216A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9E216A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E216A
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E216A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E216A | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37486C
Deuteranopia (green-blind)
#5C5E67
Tritanopia (blue-blind)
#AA1743
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e216a; /* rgb */ color: rgb(158, 33, 106); /* oklch */ color: oklch(47.8% 0.173 350.2);
Tailwind
colors: {
custom: {
50: '#bf6a94',
500: '#9e216a',
950: '#000000',
},
}SCSS
$custom: #9e216a; $custom-light: #bf6a94; $custom-dark: #000000;
JSON
{
"hex": "#9e216a",
"rgb": {
"r": 158,
"g": 33,
"b": 106
},
"hsl": {
"h": 324.96,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.47763,
"c": 0.17318,
"h": 350.2
},
"luminance": 0.09397
}Semantic roles & 50–950 ramp
primary
#9E216A
secondary
#59C185
accent
#E8863F
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E