#cc56bf
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 | #cc56bf | |
| RGB | rgb(204 86 191) | |
| HSL | hsl(306.61 53.64% 56.86%) | |
| OKLCH | oklch(0.64 0.19 332.05) | |
| CMYK | cmyk(0% 57.84% 6.37% 20%) | |
| Android | #ffcc56bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.71:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.65: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="#cc56bf"
Gradient stop
<stop stop-color="#cc56bf"/>
CSS variable + fill
:root { --c: #cc56bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc56bf; background-color: #cc56bf; bg-[#cc56bf]