#cc0584
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 | #cc0584 | |
| RGB | rgb(204 5 132) | |
| HSL | hsl(321.71 95.22% 40.98%) | |
| OKLCH | oklch(0.56 0.23 350.92) | |
| CMYK | cmyk(0% 97.55% 35.29% 20%) | |
| Android | #ffcc0584 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.35:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.92: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="#cc0584"
Gradient stop
<stop stop-color="#cc0584"/>
CSS variable + fill
:root { --c: #cc0584; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc0584; background-color: #cc0584; bg-[#cc0584]