#cc197e
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 | #cc197e | |
| RGB | rgb(204 25 126) | |
| HSL | hsl(326.15 78.17% 44.9%) | |
| OKLCH | oklch(0.56 0.22 353.73) | |
| CMYK | cmyk(0% 87.75% 38.24% 20%) | |
| Android | #ffcc197e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.23:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.00:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cc197e"
Gradient stop
<stop stop-color="#cc197e"/>
CSS variable + fill
:root { --c: #cc197e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc197e; background-color: #cc197e; bg-[#cc197e]