#a22ea5
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 | #a22ea5 | |
| RGB | rgb(162 46 165) | |
| HSL | hsl(298.49 56.4% 41.37%) | |
| OKLCH | oklch(0.52 0.2 326.9) | |
| CMYK | cmyk(1.82% 72.12% 0% 35.29%) | |
| Android | #ffa22ea5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.05:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.47: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="#a22ea5"
Gradient stop
<stop stop-color="#a22ea5"/>
CSS variable + fill
:root { --c: #a22ea5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a22ea5; background-color: #a22ea5; bg-[#a22ea5]