#cc0d99
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 | #cc0d99 | |
| RGB | rgb(204 13 153) | |
| HSL | hsl(316.02 88.02% 42.55%) | |
| OKLCH | oklch(0.57 0.24 343.66) | |
| CMYK | cmyk(0% 93.63% 25% 20%) | |
| Android | #ffcc0d99 |
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.08: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="#cc0d99"
Gradient stop
<stop stop-color="#cc0d99"/>
CSS variable + fill
:root { --c: #cc0d99; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc0d99; background-color: #cc0d99; bg-[#cc0d99]