#cd02da
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 | #cd02da | |
| RGB | rgb(205 2 218) | |
| HSL | hsl(296.39 98.18% 43.14%) | |
| OKLCH | oklch(0.6 0.28 325.05) | |
| CMYK | cmyk(5.96% 99.08% 0% 14.51%) | |
| Android | #ffcd02da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61: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="#cd02da"
Gradient stop
<stop stop-color="#cd02da"/>
CSS variable + fill
:root { --c: #cd02da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd02da; background-color: #cd02da; bg-[#cd02da]