#c02cda
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 | #c02cda | |
| RGB | rgb(192 44 218) | |
| HSL | hsl(291.03 70.16% 51.37%) | |
| OKLCH | oklch(0.6 0.26 320.95) | |
| CMYK | cmyk(11.93% 79.82% 0% 14.51%) | |
| Android | #ffc02cda |
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.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="#c02cda"
Gradient stop
<stop stop-color="#c02cda"/>
CSS variable + fill
:root { --c: #c02cda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c02cda; background-color: #c02cda; bg-[#c02cda]