#cc3fa2
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 | #cc3fa2 | |
| RGB | rgb(204 63 162) | |
| HSL | hsl(317.87 58.02% 52.35%) | |
| OKLCH | oklch(0.6 0.2 342.03) | |
| CMYK | cmyk(0% 69.12% 20.59% 20%) | |
| Android | #ffcc3fa2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.37:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.80: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="#cc3fa2"
Gradient stop
<stop stop-color="#cc3fa2"/>
CSS variable + fill
:root { --c: #cc3fa2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc3fa2; background-color: #cc3fa2; bg-[#cc3fa2]