#cc5789
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 | #cc5789 | |
| RGB | rgb(204 87 137) | |
| HSL | hsl(334.36 53.42% 57.06%) | |
| OKLCH | oklch(0.62 0.16 355.96) | |
| CMYK | cmyk(0% 57.35% 32.84% 20%) | |
| Android | #ffcc5789 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.29: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="#cc5789"
Gradient stop
<stop stop-color="#cc5789"/>
CSS variable + fill
:root { --c: #cc5789; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc5789; background-color: #cc5789; bg-[#cc5789]