#9E216D#9E216D
#9E216D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.175 H 348.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9E216D |
|---|---|
| RGB | rgb(158, 33, 109) |
| HSL | hsl(324, 65%, 37%) |
| HSV | hsv(324, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 31%, 38%) |
| CIE-LAB | lab(36.86, 56.09, -13.01) |
| CIE-LCH | lch(36.86, 57.58, 346.94°) |
| OKLab | oklab(47.89% 0.1714 -0.0341) |
| OKLCH | oklch(47.89% 0.175 348.7) |
| XYZ | xyz(17.4057, 9.4630, 15.3750) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.41
Deep Magenta
#A0025C
ΔE00 4.14
Dark Fuchsia
#9D0759
ΔE00 4.62
Dark Magenta
#960056
ΔE00 5.18
Reddish Purple
#910951
ΔE00 6.18
Violet Red
#A50055
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E216D #219E52
analogous
#91219E #9E216D #9E212F
triadic
#9E216D #6D9E21 #216D9E
tetradic
#9E216D #9E9121 #219E52 #212F9E
square
#9E216D #9E9121 #219E52 #212F9E
split-complementary
#9E216D #2F9E21 #219E91
monochromatic
#390C27 #6B164A #9E216D #D12C90 #DD5CAB
Accessibility & contrast
On white
7.26
#9E216D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E216D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E216D
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E216D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E216D | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#AA1944
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e216d; /* rgb */ color: rgb(158, 33, 109); /* oklch */ color: oklch(47.9% 0.175 348.7);
Tailwind
colors: {
custom: {
50: '#bf6a97',
500: '#9e216d',
950: '#000000',
},
}SCSS
$custom: #9e216d; $custom-light: #bf6a97; $custom-dark: #000000;
JSON
{
"hex": "#9e216d",
"rgb": {
"r": 158,
"g": 33,
"b": 109
},
"hsl": {
"h": 323.52,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.47887,
"c": 0.17476,
"h": 348.7
},
"luminance": 0.09461
}Semantic roles & 50–950 ramp
primary
#9E216D
secondary
#59C182
accent
#E8823F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E