#9C2174#9C2174
#9C2174 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.177 H 344.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2174 |
|---|---|
| RGB | rgb(156, 33, 116) |
| HSL | hsl(320, 65%, 37%) |
| HSV | hsv(320, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 25.6%, 38.8%) |
| CIE-LAB | lab(36.78, 56.45, -17.58) |
| CIE-LCH | lch(36.78, 59.13, 342.70°) |
| OKLab | oklab(47.85% 0.1711 -0.0468) |
| OKLCH | oklch(47.85% 0.177 344.7) |
| XYZ | xyz(17.4073, 9.4185, 17.4208) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.13
Deep Magenta
#A0025C
ΔE00 5.81
Dark Fuchsia
#9D0759
ΔE00 6.30
Warm Purple
#952E8F
ΔE00 6.38
Dark Magenta
#960056
ΔE00 6.57
Magenta (survey)
#C20078
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2174 #219C49
analogous
#87219C #9C2174 #9C2137
triadic
#9C2174 #749C21 #21749C
tetradic
#9C2174 #9C8721 #219C49 #21379C
square
#9C2174 #9C8721 #219C49 #21379C
split-complementary
#9C2174 #379C21 #219C87
monochromatic
#370C29 #69164E #9C2174 #CF2C9A #DC5BB2
Accessibility & contrast
On white
7.28
#9C2174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9C2174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2174
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2174 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#A71F48
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c2174; /* rgb */ color: rgb(156, 33, 116); /* oklch */ color: oklch(47.9% 0.177 344.7);
Tailwind
colors: {
custom: {
50: '#bd6a9c',
500: '#9c2174',
950: '#000000',
},
}SCSS
$custom: #9c2174; $custom-light: #bd6a9c; $custom-dark: #000000;
JSON
{
"hex": "#9c2174",
"rgb": {
"r": 156,
"g": 33,
"b": 116
},
"hsl": {
"h": 319.512,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.47854,
"c": 0.17736,
"h": 344.7
},
"luminance": 0.09417
}Semantic roles & 50–950 ramp
primary
#9C2174
secondary
#58C17A
accent
#E87640
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E