#c222ae
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 | #c222ae | |
| RGB | rgb(194 34 174) | |
| HSL | hsl(307.5 70.18% 44.71%) | |
| OKLCH | oklch(0.57 0.23 334.26) | |
| CMYK | cmyk(0% 82.47% 10.31% 23.92%) | |
| Android | #ffc222ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.13: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="#c222ae"
Gradient stop
<stop stop-color="#c222ae"/>
CSS variable + fill
:root { --c: #c222ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c222ae; background-color: #c222ae; bg-[#c222ae]