#9C2166#9C2166
#9C2166 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.170 H 351.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2166 |
|---|---|
| RGB | rgb(156, 33, 102) |
| HSL | hsl(326, 65%, 37%) |
| HSV | hsv(326, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 34.6%, 38.8%) |
| CIE-LAB | lab(36.21, 54.75, -9.59) |
| CIE-LCH | lch(36.21, 55.58, 350.06°) |
| OKLab | oklab(47.25% 0.1679 -0.0248) |
| OKLCH | oklch(47.25% 0.17 351.6) |
| XYZ | xyz(16.6534, 9.1170, 13.4506) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.62
Deep Magenta
#A0025C
ΔE00 2.92
Dark Fuchsia
#9D0759
ΔE00 3.26
Dark Magenta
#960056
ΔE00 3.96
Reddish Purple
#910951
ΔE00 4.83
Violet Red
#A50055
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2166 #219C57
analogous
#94219C #9C2166 #9C2129
triadic
#9C2166 #669C21 #21669C
tetradic
#9C2166 #9C9421 #219C57 #21299C
square
#9C2166 #9C9421 #219C57 #21299C
split-complementary
#9C2166 #299C21 #219C94
monochromatic
#370C24 #691645 #9C2166 #CF2C87 #DC5BA4
Accessibility & contrast
On white
7.44
#9C2166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#9C2166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2166
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2166 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#5B5D63
Tritanopia (blue-blind)
#A81541
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9c2166; /* rgb */ color: rgb(156, 33, 102); /* oklch */ color: oklch(47.3% 0.170 351.6);
Tailwind
colors: {
custom: {
50: '#be6a91',
500: '#9c2166',
950: '#000000',
},
}SCSS
$custom: #9c2166; $custom-light: #be6a91; $custom-dark: #000000;
JSON
{
"hex": "#9c2166",
"rgb": {
"r": 156,
"g": 33,
"b": 102
},
"hsl": {
"h": 326.341,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.47254,
"c": 0.16972,
"h": 351.6
},
"luminance": 0.09115
}Semantic roles & 50–950 ramp
primary
#9C2166
secondary
#58C186
accent
#E88A40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D