#cc02ad
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 | #cc02ad | |
| RGB | rgb(204 2 173) | |
| HSL | hsl(309.21 98.06% 40.39%) | |
| OKLCH | oklch(0.58 0.25 337.15) | |
| CMYK | cmyk(0% 99.02% 15.2% 20%) | |
| Android | #ffcc02ad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17: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="#cc02ad"
Gradient stop
<stop stop-color="#cc02ad"/>
CSS variable + fill
:root { --c: #cc02ad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc02ad; background-color: #cc02ad; bg-[#cc02ad]