#e212aa
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 | #e212aa | |
| RGB | rgb(226 18 170) | |
| HSL | hsl(316.15 85.25% 47.84%) | |
| OKLCH | oklch(0.61 0.26 343.65) | |
| CMYK | cmyk(0% 92.04% 24.78% 11.37%) | |
| Android | #ffe212aa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.90:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#e212aa"
Gradient stop
<stop stop-color="#e212aa"/>
CSS variable + fill
:root { --c: #e212aa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e212aa; background-color: #e212aa; bg-[#e212aa]