#c024d8
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 | #c024d8 | |
| RGB | rgb(192 36 216) | |
| HSL | hsl(292 71.43% 49.41%) | |
| OKLCH | oklch(0.59 0.26 321.64) | |
| CMYK | cmyk(11.11% 83.33% 0% 15.29%) | |
| Android | #ffc024d8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48: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="#c024d8"
Gradient stop
<stop stop-color="#c024d8"/>
CSS variable + fill
:root { --c: #c024d8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c024d8; background-color: #c024d8; bg-[#c024d8]