#9A2176#9A2176
#9A2176 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.177 H 343.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2176 |
|---|---|
| RGB | rgb(154, 33, 118) |
| HSL | hsl(318, 65%, 37%) |
| HSV | hsv(318, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 23.4%, 39.6%) |
| CIE-LAB | lab(36.49, 56.22, -19.30) |
| CIE-LCH | lch(36.49, 59.44, 341.05°) |
| OKLab | oklab(47.61% 0.1696 -0.0517) |
| OKLCH | oklch(47.61% 0.177 343) |
| XYZ | xyz(17.1410, 9.2676, 18.0221) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.60
Warm Purple
#952E8F
ΔE00 5.72
Deep Magenta
#A0025C
ΔE00 6.46
Dark Fuchsia
#9D0759
ΔE00 6.93
Barney Purple
#A00498
ΔE00 7.01
Dark Magenta
#960056
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2176 #219A45
analogous
#82219A #9A2176 #9A213A
triadic
#9A2176 #769A21 #21769A
tetradic
#9A2176 #9A8221 #219A45 #213A9A
square
#9A2176 #9A8221 #219A45 #213A9A
split-complementary
#9A2176 #3A9A21 #219A82
monochromatic
#350B29 #68164F #9A2176 #CC2C9D #DC5AB5
Accessibility & contrast
On white
7.36
#9A2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9A2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2176
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2176 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#A42149
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a2176; /* rgb */ color: rgb(154, 33, 118); /* oklch */ color: oklch(47.6% 0.177 343.0);
Tailwind
colors: {
custom: {
50: '#bc6a9d',
500: '#9a2176',
950: '#000000',
},
}SCSS
$custom: #9a2176; $custom-light: #bc6a9d; $custom-dark: #000000;
JSON
{
"hex": "#9a2176",
"rgb": {
"r": 154,
"g": 33,
"b": 118
},
"hsl": {
"h": 317.851,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.47609,
"c": 0.17728,
"h": 343
},
"luminance": 0.09266
}Semantic roles & 50–950 ramp
primary
#9A2176
secondary
#57C076
accent
#E87240
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E