#9C217B#9C217B
#9C217B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.182 H 341.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9C217B |
|---|---|
| RGB | rgb(156, 33, 123) |
| HSL | hsl(316, 65%, 37%) |
| HSV | hsv(316, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 21.2%, 38.8%) |
| CIE-LAB | lab(37.09, 57.38, -21.48) |
| CIE-LCH | lch(37.09, 61.27, 339.48°) |
| OKLab | oklab(48.18% 0.1722 -0.0578) |
| OKLCH | oklch(48.18% 0.182 341.4) |
| XYZ | xyz(17.8299, 9.5875, 19.6466) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.40
Warm Purple
#952E8F
ΔE00 4.87
Barney Purple
#A00498
ΔE00 6.11
Light Eggplant
#894585
ΔE00 7.21
Deep Magenta
#A0025C
ΔE00 7.31
Darkmagenta
#8B008B
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C217B #219C42
analogous
#80219C #9C217B #9C213D
triadic
#9C217B #7B9C21 #217B9C
tetradic
#9C217B #9C8021 #219C42 #213D9C
square
#9C217B #9C8021 #219C42 #213D9C
split-complementary
#9C217B #3D9C21 #219C80
monochromatic
#370C2B #691653 #9C217B #CF2CA3 #DC5BBA
Accessibility & contrast
On white
7.20
#9C217B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9C217B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C217B
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C217B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C217B | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4B7D
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#A6244C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c217b; /* rgb */ color: rgb(156, 33, 123); /* oklch */ color: oklch(48.2% 0.182 341.4);
Tailwind
colors: {
custom: {
50: '#bd6ba1',
500: '#9c217b',
950: '#000000',
},
}SCSS
$custom: #9c217b; $custom-light: #bd6ba1; $custom-dark: #000000;
JSON
{
"hex": "#9c217b",
"rgb": {
"r": 156,
"g": 33,
"b": 123
},
"hsl": {
"h": 316.098,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.48183,
"c": 0.18169,
"h": 341.4
},
"luminance": 0.09586
}Semantic roles & 50–950 ramp
primary
#9C217B
secondary
#58C174
accent
#E86D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E