#c022bb
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 | #c022bb | |
| RGB | rgb(192 34 187) | |
| HSL | hsl(301.9 69.91% 44.31%) | |
| OKLCH | oklch(0.57 0.24 329.67) | |
| CMYK | cmyk(0% 82.29% 2.6% 24.71%) | |
| Android | #ffc022bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.18: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="#c022bb"
Gradient stop
<stop stop-color="#c022bb"/>
CSS variable + fill
:root { --c: #c022bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c022bb; background-color: #c022bb; bg-[#c022bb]