#9D2176#9D2176
#9D2176 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.179 H 344.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2176 |
|---|---|
| RGB | rgb(157, 33, 118) |
| HSL | hsl(319, 65%, 37%) |
| HSV | hsv(319, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 24.8%, 38.4%) |
| CIE-LAB | lab(37.05, 56.96, -18.40) |
| CIE-LCH | lch(37.05, 59.86, 342.10°) |
| OKLab | oklab(48.12% 0.1724 -0.0491) |
| OKLCH | oklch(48.12% 0.179 344.1) |
| XYZ | xyz(17.7192, 9.5657, 18.0493) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.43
Warm Purple
#952E8F
ΔE00 6.06
Deep Magenta
#A0025C
ΔE00 6.15
Dark Fuchsia
#9D0759
ΔE00 6.66
Dark Magenta
#960056
ΔE00 6.95
Magenta (survey)
#C20078
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2176 #219D48
analogous
#86219D #9D2176 #9D2138
triadic
#9D2176 #769D21 #21769D
tetradic
#9D2176 #9D8621 #219D48 #21389D
square
#9D2176 #9D8621 #219D48 #21389D
split-complementary
#9D2176 #389D21 #219D86
monochromatic
#380C2A #6A1650 #9D2176 #D02C9C #DD5CB4
Accessibility & contrast
On white
7.21
#9D2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9D2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2176
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2176 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314A78
Deuteranopia (green-blind)
#575F73
Tritanopia (blue-blind)
#A82049
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d2176; /* rgb */ color: rgb(157, 33, 118); /* oklch */ color: oklch(48.1% 0.179 344.1);
Tailwind
colors: {
custom: {
50: '#be6b9d',
500: '#9d2176',
950: '#000000',
},
}SCSS
$custom: #9d2176; $custom-light: #be6b9d; $custom-dark: #000000;
JSON
{
"hex": "#9d2176",
"rgb": {
"r": 157,
"g": 33,
"b": 118
},
"hsl": {
"h": 318.871,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.48115,
"c": 0.17922,
"h": 344.1
},
"luminance": 0.09564
}Semantic roles & 50–950 ramp
primary
#9D2176
secondary
#59C17A
accent
#E87540
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E