#cc4cb4
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 | #cc4cb4 | |
| RGB | rgb(204 76 180) | |
| HSL | hsl(311.25 55.65% 54.9%) | |
| OKLCH | oklch(0.62 0.2 335.84) | |
| CMYK | cmyk(0% 62.75% 11.76% 20%) | |
| Android | #ffcc4cb4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.99:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.26: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="#cc4cb4"
Gradient stop
<stop stop-color="#cc4cb4"/>
CSS variable + fill
:root { --c: #cc4cb4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc4cb4; background-color: #cc4cb4; bg-[#cc4cb4]