#952d71
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #952d71 | |
| RGB | rgb(149 45 113) | |
| HSL | hsl(320.77 53.61% 38.04%) | |
| OKLCH | oklch(0.48 0.16 344.54) | |
| CMYK | cmyk(0% 69.8% 24.16% 41.57%) | |
| Android | #ff952d71 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.89:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#952d71"
Gradient stop
<stop stop-color="#952d71"/>
CSS variable + fill
:root { --c: #952d71; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #952d71; background-color: #952d71; bg-[#952d71]