#cc4fa5
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 | #cc4fa5 | |
| RGB | rgb(204 79 165) | |
| HSL | hsl(318.72 55.07% 55.49%) | |
| OKLCH | oklch(0.62 0.18 341.82) | |
| CMYK | cmyk(0% 61.27% 19.12% 20%) | |
| Android | #ffcc4fa5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.22: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="#cc4fa5"
Gradient stop
<stop stop-color="#cc4fa5"/>
CSS variable + fill
:root { --c: #cc4fa5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc4fa5; background-color: #cc4fa5; bg-[#cc4fa5]