#c024db
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 | #c024db | |
| RGB | rgb(192 36 219) | |
| HSL | hsl(291.15 71.76% 50%) | |
| OKLCH | oklch(0.6 0.26 320.88) | |
| CMYK | cmyk(12.33% 83.56% 0% 14.12%) | |
| Android | #ffc024db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.51:1
Pass 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="#c024db"
Gradient stop
<stop stop-color="#c024db"/>
CSS variable + fill
:root { --c: #c024db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c024db; background-color: #c024db; bg-[#c024db]