#cc5cd1
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 | #cc5cd1 | |
| RGB | rgb(204 92 209) | |
| HSL | hsl(297.44 55.98% 59.02%) | |
| OKLCH | oklch(0.66 0.2 325.88) | |
| CMYK | cmyk(2.39% 55.98% 0% 18.04%) | |
| Android | #ffcc5cd1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.01: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="#cc5cd1"
Gradient stop
<stop stop-color="#cc5cd1"/>
CSS variable + fill
:root { --c: #cc5cd1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc5cd1; background-color: #cc5cd1; bg-[#cc5cd1]