#cd2cdc
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 | #cd2cdc | |
| RGB | rgb(205 44 220) | |
| HSL | hsl(294.89 71.54% 51.76%) | |
| OKLCH | oklch(0.62 0.26 324.15) | |
| CMYK | cmyk(6.82% 80% 0% 13.73%) | |
| Android | #ffcd2cdc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.20:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.98: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="#cd2cdc"
Gradient stop
<stop stop-color="#cd2cdc"/>
CSS variable + fill
:root { --c: #cd2cdc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd2cdc; background-color: #cd2cdc; bg-[#cd2cdc]