#cc7ca1
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 | #cc7ca1 | |
| RGB | rgb(204 124 161) | |
| HSL | hsl(332.25 43.96% 64.31%) | |
| OKLCH | oklch(0.68 0.11 351.16) | |
| CMYK | cmyk(0% 39.22% 21.08% 20%) | |
| Android | #ffcc7ca1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.96: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="#cc7ca1"
Gradient stop
<stop stop-color="#cc7ca1"/>
CSS variable + fill
:root { --c: #cc7ca1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc7ca1; background-color: #cc7ca1; bg-[#cc7ca1]