#9E217D#9E217D
#9E217D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.184 H 341.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9E217D |
|---|---|
| RGB | rgb(158, 33, 125) |
| HSL | hsl(316, 65%, 37%) |
| HSV | hsv(316, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 20.9%, 38%) |
| CIE-LAB | lab(37.55, 58.13, -21.98) |
| CIE-LCH | lch(37.55, 62.15, 339.29°) |
| OKLab | oklab(48.61% 0.1744 -0.0592) |
| OKLCH | oklch(48.61% 0.184 341.2) |
| XYZ | xyz(18.3467, 9.8394, 20.3310) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.66
Warm Purple
#952E8F
ΔE00 4.71
Barney Purple
#A00498
ΔE00 5.89
Light Eggplant
#894585
ΔE00 7.19
Darkmagenta
#8B008B
ΔE00 7.41
Deep Magenta
#A0025C
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E217D #219E42
analogous
#81219E #9E217D #9E213F
triadic
#9E217D #7D9E21 #217D9E
tetradic
#9E217D #9E8121 #219E42 #213F9E
square
#9E217D #9E8121 #219E42 #213F9E
split-complementary
#9E217D #3F9E21 #219E81
monochromatic
#390C2D #6B1655 #9E217D #D12CA5 #DD5CBB
Accessibility & contrast
On white
7.08
#9E217D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9E217D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E217D
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E217D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E217D | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#55607A
Tritanopia (blue-blind)
#A8244D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e217d; /* rgb */ color: rgb(158, 33, 125); /* oklch */ color: oklch(48.6% 0.184 341.2);
Tailwind
colors: {
custom: {
50: '#bf6ba3',
500: '#9e217d',
950: '#000000',
},
}SCSS
$custom: #9e217d; $custom-light: #bf6ba3; $custom-dark: #000000;
JSON
{
"hex": "#9e217d",
"rgb": {
"r": 158,
"g": 33,
"b": 125
},
"hsl": {
"h": 315.84,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.48614,
"c": 0.18418,
"h": 341.2
},
"luminance": 0.09837
}Semantic roles & 50–950 ramp
primary
#9E217D
secondary
#59C175
accent
#E86C3F
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F