#cd1ec7
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 | #cd1ec7 | |
| RGB | rgb(205 30 199) | |
| HSL | hsl(302.06 74.47% 46.08%) | |
| OKLCH | oklch(0.6 0.26 329.89) | |
| CMYK | cmyk(0% 85.37% 2.93% 19.61%) | |
| Android | #ffcd1ec7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.60: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="#cd1ec7"
Gradient stop
<stop stop-color="#cd1ec7"/>
CSS variable + fill
:root { --c: #cd1ec7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd1ec7; background-color: #cd1ec7; bg-[#cd1ec7]