#ac22af
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 | #ac22af | |
| RGB | rgb(172 34 175) | |
| HSL | hsl(298.72 67.46% 40.98%) | |
| OKLCH | oklch(0.54 0.23 327.19) | |
| CMYK | cmyk(1.71% 80.57% 0% 31.37%) | |
| Android | #ffac22af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.83:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.60: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="#ac22af"
Gradient stop
<stop stop-color="#ac22af"/>
CSS variable + fill
:root { --c: #ac22af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac22af; background-color: #ac22af; bg-[#ac22af]