#cd4c87
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 | #cd4c87 | |
| RGB | rgb(205 76 135) | |
| HSL | hsl(332.56 56.33% 55.1%) | |
| OKLCH | oklch(0.61 0.17 355.15) | |
| CMYK | cmyk(0% 62.93% 34.15% 19.61%) | |
| Android | #ffcd4c87 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.21:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.97: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="#cd4c87"
Gradient stop
<stop stop-color="#cd4c87"/>
CSS variable + fill
:root { --c: #cd4c87; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd4c87; background-color: #cd4c87; bg-[#cd4c87]