#9C2181#9C2181
#9C2181 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.186 H 338.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2181 |
|---|---|
| RGB | rgb(156, 33, 129) |
| HSL | hsl(313, 65%, 37%) |
| HSV | hsv(313, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 17.3%, 38.8%) |
| CIE-LAB | lab(37.38, 58.21, -24.77) |
| CIE-LCH | lch(37.38, 63.26, 336.95°) |
| OKLab | oklab(48.48% 0.173 -0.0672) |
| OKLCH | oklch(48.48% 0.186 338.8) |
| XYZ | xyz(18.2171, 9.7424, 21.6857) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.68
Barney Purple
#A00498
ΔE00 4.88
Red Violet
#9E0168
ΔE00 5.56
Darkmagenta
#8B008B
ΔE00 6.43
Light Eggplant
#894585
ΔE00 6.86
Purple
#800080
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2181 #219C3C
analogous
#7A219C #9C2181 #9C2143
triadic
#9C2181 #819C21 #21819C
tetradic
#9C2181 #9C7A21 #219C3C #21439C
square
#9C2181 #9C7A21 #219C3C #21439C
split-complementary
#9C2181 #439C21 #219C7A
monochromatic
#370C2D #691657 #9C2181 #CF2CAB #DC5BC0
Accessibility & contrast
On white
7.12
#9C2181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C2181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2181
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2181 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#525F7E
Tritanopia (blue-blind)
#A5274F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c2181; /* rgb */ color: rgb(156, 33, 129); /* oklch */ color: oklch(48.5% 0.186 338.8);
Tailwind
colors: {
custom: {
50: '#bd6ba6',
500: '#9c2181',
950: '#000000',
},
}SCSS
$custom: #9c2181; $custom-light: #bd6ba6; $custom-dark: #000000;
JSON
{
"hex": "#9c2181",
"rgb": {
"r": 156,
"g": 33,
"b": 129
},
"hsl": {
"h": 313.171,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.48481,
"c": 0.1856,
"h": 338.8
},
"luminance": 0.09741
}Semantic roles & 50–950 ramp
primary
#9C2181
secondary
#58C16F
accent
#E86540
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F