#cc0ca2
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 | #cc0ca2 | |
| RGB | rgb(204 12 162) | |
| HSL | hsl(313.13 88.89% 42.35%) | |
| OKLCH | oklch(0.57 0.24 340.67) | |
| CMYK | cmyk(0% 94.12% 20.59% 20%) | |
| Android | #ffcc0ca2 |
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.14: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="#cc0ca2"
Gradient stop
<stop stop-color="#cc0ca2"/>
CSS variable + fill
:root { --c: #cc0ca2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc0ca2; background-color: #cc0ca2; bg-[#cc0ca2]