#cc3a97
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 | #cc3a97 | |
| RGB | rgb(204 58 151) | |
| HSL | hsl(321.78 58.87% 51.37%) | |
| OKLCH | oklch(0.59 0.2 345.99) | |
| CMYK | cmyk(0% 71.57% 25.98% 20%) | |
| Android | #ffcc3a97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61: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="#cc3a97"
Gradient stop
<stop stop-color="#cc3a97"/>
CSS variable + fill
:root { --c: #cc3a97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc3a97; background-color: #cc3a97; bg-[#cc3a97]