#9C2172#9C2172
#9C2172 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 345.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2172 |
|---|---|
| RGB | rgb(156, 33, 114) |
| HSL | hsl(320, 65%, 37%) |
| HSV | hsv(320, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 26.9%, 38.8%) |
| CIE-LAB | lab(36.69, 56.20, -16.45) |
| CIE-LCH | lch(36.69, 58.56, 343.68°) |
| OKLab | oklab(47.76% 0.1707 -0.0437) |
| OKLCH | oklch(47.76% 0.176 345.6) |
| XYZ | xyz(17.2922, 9.3725, 16.8147) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.82
Deep Magenta
#A0025C
ΔE00 5.38
Dark Fuchsia
#9D0759
ΔE00 5.86
Dark Magenta
#960056
ΔE00 6.17
Warm Purple
#952E8F
ΔE00 6.83
Magenta (survey)
#C20078
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2172 #219C4B
analogous
#89219C #9C2172 #9C2135
triadic
#9C2172 #729C21 #21729C
tetradic
#9C2172 #9C8921 #219C4B #21359C
square
#9C2172 #9C8921 #219C4B #21359C
split-complementary
#9C2172 #359C21 #219C89
monochromatic
#370C28 #69164D #9C2172 #CF2C97 #DC5BB0
Accessibility & contrast
On white
7.31
#9C2172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9C2172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2172
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2172 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#A71E47
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c2172; /* rgb */ color: rgb(156, 33, 114); /* oklch */ color: oklch(47.8% 0.176 345.6);
Tailwind
colors: {
custom: {
50: '#bd6a9a',
500: '#9c2172',
950: '#000000',
},
}SCSS
$custom: #9c2172; $custom-light: #bd6a9a; $custom-dark: #000000;
JSON
{
"hex": "#9c2172",
"rgb": {
"r": 156,
"g": 33,
"b": 114
},
"hsl": {
"h": 320.488,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.47763,
"c": 0.17619,
"h": 345.6
},
"luminance": 0.09371
}Semantic roles & 50–950 ramp
primary
#9C2172
secondary
#58C17C
accent
#E87940
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E