#9C2162#9C2162
#9C2162 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.168 H 353.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2162 |
|---|---|
| RGB | rgb(156, 33, 98) |
| HSL | hsl(328, 65%, 37%) |
| HSV | hsv(328, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 37.2%, 38.8%) |
| CIE-LAB | lab(36.06, 54.30, -7.26) |
| CIE-LCH | lch(36.06, 54.78, 352.38°) |
| OKLab | oklab(47.1% 0.1668 -0.0185) |
| OKLCH | oklch(47.1% 0.168 353.7) |
| XYZ | xyz(16.4598, 9.0395, 12.4309) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.35
Dark Fuchsia
#9D0759
ΔE00 2.54
Red Violet
#9E0168
ΔE00 3.28
Dark Magenta
#960056
ΔE00 3.47
Violet Red
#A50055
ΔE00 4.08
Reddish Purple
#910951
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2162 #219C5B
analogous
#99219C #9C2162 #9C2124
triadic
#9C2162 #629C21 #21629C
tetradic
#9C2162 #9C9921 #219C5B #21249C
square
#9C2162 #9C9921 #219C5B #21249C
split-complementary
#9C2162 #249C21 #219C99
monochromatic
#370C23 #691642 #9C2162 #CF2C82 #DC5B9F
Accessibility & contrast
On white
7.48
#9C2162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9C2162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2162
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2162 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5C5D5F
Tritanopia (blue-blind)
#A9123F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9c2162; /* rgb */ color: rgb(156, 33, 98); /* oklch */ color: oklch(47.1% 0.168 353.7);
Tailwind
colors: {
custom: {
50: '#be6a8e',
500: '#9c2162',
950: '#000000',
},
}SCSS
$custom: #9c2162; $custom-light: #be6a8e; $custom-dark: #000000;
JSON
{
"hex": "#9c2162",
"rgb": {
"r": 156,
"g": 33,
"b": 98
},
"hsl": {
"h": 328.293,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.47097,
"c": 0.16782,
"h": 353.7
},
"luminance": 0.09037
}Semantic roles & 50–950 ramp
primary
#9C2162
secondary
#58C189
accent
#E88F40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D