#cc15af
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 | #cc15af | |
| RGB | rgb(204 21 175) | |
| HSL | hsl(309.51 81.33% 44.12%) | |
| OKLCH | oklch(0.58 0.25 336.63) | |
| CMYK | cmyk(0% 89.71% 14.22% 20%) | |
| Android | #ffcc15af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.29: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="#cc15af"
Gradient stop
<stop stop-color="#cc15af"/>
CSS variable + fill
:root { --c: #cc15af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc15af; background-color: #cc15af; bg-[#cc15af]