#ad22bc
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 | #ad22bc | |
| RGB | rgb(173 34 188) | |
| HSL | hsl(294.16 69.37% 43.53%) | |
| OKLCH | oklch(0.55 0.24 323.54) | |
| CMYK | cmyk(7.98% 81.91% 0% 26.27%) | |
| Android | #ffad22bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.73:1
Fail AA normal text
Pass 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="#ad22bc"
Gradient stop
<stop stop-color="#ad22bc"/>
CSS variable + fill
:root { --c: #ad22bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ad22bc; background-color: #ad22bc; bg-[#ad22bc]