#c022cb
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 | #c022cb | |
| RGB | rgb(192 34 203) | |
| HSL | hsl(296.09 71.31% 46.47%) | |
| OKLCH | oklch(0.58 0.25 325.1) | |
| CMYK | cmyk(5.42% 83.25% 0% 20.39%) | |
| Android | #ffc022cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.33: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="#c022cb"
Gradient stop
<stop stop-color="#c022cb"/>
CSS variable + fill
:root { --c: #c022cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c022cb; background-color: #c022cb; bg-[#c022cb]