#cd10c7
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 | #cd10c7 | |
| RGB | rgb(205 16 199) | |
| HSL | hsl(301.9 85.52% 43.33%) | |
| OKLCH | oklch(0.59 0.27 329.93) | |
| CMYK | cmyk(0% 92.2% 2.93% 19.61%) | |
| Android | #ffcd10c7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.49:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cd10c7"
Gradient stop
<stop stop-color="#cd10c7"/>
CSS variable + fill
:root { --c: #cd10c7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd10c7; background-color: #cd10c7; bg-[#cd10c7]