#c22eba
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 | #c22eba | |
| RGB | rgb(194 46 186) | |
| HSL | hsl(303.24 61.67% 47.06%) | |
| OKLCH | oklch(0.58 0.23 330.51) | |
| CMYK | cmyk(0% 76.29% 4.12% 23.92%) | |
| Android | #ffc22eba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.39: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="#c22eba"
Gradient stop
<stop stop-color="#c22eba"/>
CSS variable + fill
:root { --c: #c22eba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c22eba; background-color: #c22eba; bg-[#c22eba]