#9C217A#9C217A
#9C217A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.181 H 341.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9C217A |
|---|---|
| RGB | rgb(156, 33, 122) |
| HSL | hsl(317, 65%, 37%) |
| HSV | hsv(317, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 21.8%, 38.8%) |
| CIE-LAB | lab(37.05, 57.25, -20.93) |
| CIE-LCH | lch(37.05, 60.95, 339.92°) |
| OKLab | oklab(48.14% 0.1721 -0.0563) |
| OKLCH | oklch(48.14% 0.181 341.9) |
| XYZ | xyz(17.7676, 9.5626, 19.3186) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.20
Warm Purple
#952E8F
ΔE00 5.08
Barney Purple
#A00498
ΔE00 6.33
Deep Magenta
#A0025C
ΔE00 7.10
Light Eggplant
#894585
ΔE00 7.29
Darkmagenta
#8B008B
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C217A #219C43
analogous
#80219C #9C217A #9C213D
triadic
#9C217A #7A9C21 #217A9C
tetradic
#9C217A #9C8021 #219C43 #213D9C
square
#9C217A #9C8021 #219C43 #213D9C
split-complementary
#9C217A #3D9C21 #219C80
monochromatic
#370C2B #691652 #9C217A #CF2CA2 #DC5BB9
Accessibility & contrast
On white
7.21
#9C217A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9C217A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C217A
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C217A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C217A | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A6234B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c217a; /* rgb */ color: rgb(156, 33, 122); /* oklch */ color: oklch(48.1% 0.181 341.9);
Tailwind
colors: {
custom: {
50: '#bd6ba0',
500: '#9c217a',
950: '#000000',
},
}SCSS
$custom: #9c217a; $custom-light: #bd6ba0; $custom-dark: #000000;
JSON
{
"hex": "#9c217a",
"rgb": {
"r": 156,
"g": 33,
"b": 122
},
"hsl": {
"h": 316.585,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.48135,
"c": 0.18105,
"h": 341.9
},
"luminance": 0.09561
}Semantic roles & 50–950 ramp
primary
#9C217A
secondary
#58C175
accent
#E86E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E