#ac30cf
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 | #ac30cf | |
| RGB | rgb(172 48 207) | |
| HSL | hsl(286.79 62.35% 50%) | |
| OKLCH | oklch(0.57 0.24 317.45) | |
| CMYK | cmyk(16.91% 76.81% 0% 18.82%) | |
| Android | #ffac30cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.14:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.07: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="#ac30cf"
Gradient stop
<stop stop-color="#ac30cf"/>
CSS variable + fill
:root { --c: #ac30cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ac30cf; background-color: #ac30cf; bg-[#ac30cf]