#cc70b2
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 | #cc70b2 | |
| RGB | rgb(204 112 178) | |
| HSL | hsl(316.96 47.42% 61.96%) | |
| OKLCH | oklch(0.67 0.14 338.69) | |
| CMYK | cmyk(0% 45.1% 12.75% 20%) | |
| Android | #ffcc70b2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.21:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.52: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="#cc70b2"
Gradient stop
<stop stop-color="#cc70b2"/>
CSS variable + fill
:root { --c: #cc70b2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc70b2; background-color: #cc70b2; bg-[#cc70b2]