#cc4178
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 | #cc4178 | |
| RGB | rgb(204 65 120) | |
| HSL | hsl(336.26 57.68% 52.75%) | |
| OKLCH | oklch(0.59 0.18 0.11) | |
| CMYK | cmyk(0% 68.14% 41.18% 20%) | |
| Android | #ffcc4178 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59: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="#cc4178"
Gradient stop
<stop stop-color="#cc4178"/>
CSS variable + fill
:root { --c: #cc4178; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc4178; background-color: #cc4178; bg-[#cc4178]