#9D2177#9D2177
#9D2177 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.180 H 343.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2177 |
|---|---|
| RGB | rgb(157, 33, 119) |
| HSL | hsl(318, 65%, 37%) |
| HSV | hsv(318, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 24.2%, 38.4%) |
| CIE-LAB | lab(37.10, 57.09, -18.96) |
| CIE-LCH | lch(37.10, 60.16, 341.63°) |
| OKLab | oklab(48.16% 0.1725 -0.0507) |
| OKLCH | oklch(48.16% 0.18 343.6) |
| XYZ | xyz(17.7790, 9.5896, 18.3639) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.60
Warm Purple
#952E8F
ΔE00 5.84
Deep Magenta
#A0025C
ΔE00 6.36
Dark Fuchsia
#9D0759
ΔE00 6.87
Barney Purple
#A00498
ΔE00 7.07
Dark Magenta
#960056
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2177 #219D47
analogous
#85219D #9D2177 #9D2139
triadic
#9D2177 #779D21 #21779D
tetradic
#9D2177 #9D8521 #219D47 #21399D
square
#9D2177 #9D8521 #219D47 #21399D
split-complementary
#9D2177 #399D21 #219D85
monochromatic
#380C2A #6A1651 #9D2177 #D02C9D #DD5CB5
Accessibility & contrast
On white
7.20
#9D2177 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9D2177 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2177
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2177 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2177 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304A79
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#A8214A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d2177; /* rgb */ color: rgb(157, 33, 119); /* oklch */ color: oklch(48.2% 0.180 343.6);
Tailwind
colors: {
custom: {
50: '#be6b9e',
500: '#9d2177',
950: '#000000',
},
}SCSS
$custom: #9d2177; $custom-light: #be6b9e; $custom-dark: #000000;
JSON
{
"hex": "#9d2177",
"rgb": {
"r": 157,
"g": 33,
"b": 119
},
"hsl": {
"h": 318.387,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.48161,
"c": 0.17982,
"h": 343.6
},
"luminance": 0.09588
}Semantic roles & 50–950 ramp
primary
#9D2177
secondary
#59C179
accent
#E87340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E