#cc5c8a
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 | #cc5c8a | |
| RGB | rgb(204 92 138) | |
| HSL | hsl(335.36 52.34% 58.04%) | |
| OKLCH | oklch(0.63 0.15 356.54) | |
| CMYK | cmyk(0% 54.9% 32.35% 20%) | |
| Android | #ffcc5c8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.84:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.46:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cc5c8a"
Gradient stop
<stop stop-color="#cc5c8a"/>
CSS variable + fill
:root { --c: #cc5c8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc5c8a; background-color: #cc5c8a; bg-[#cc5c8a]