#c03cd6
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 | #c03cd6 | |
| RGB | rgb(192 60 214) | |
| HSL | hsl(291.43 65.25% 53.73%) | |
| OKLCH | oklch(0.61 0.24 321.53) | |
| CMYK | cmyk(10.28% 71.96% 0% 16.08%) | |
| Android | #ffc03cd6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.85: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="#c03cd6"
Gradient stop
<stop stop-color="#c03cd6"/>
CSS variable + fill
:root { --c: #c03cd6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c03cd6; background-color: #c03cd6; bg-[#c03cd6]