#e040e9
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 | #e040e9 | |
| RGB | rgb(224 64 233) | |
| HSL | hsl(296.8 79.34% 58.24%) | |
| OKLCH | oklch(0.67 0.26 325.68) | |
| CMYK | cmyk(3.86% 72.53% 0% 8.63%) | |
| Android | #ffe040e9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.07: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="#e040e9"
Gradient stop
<stop stop-color="#e040e9"/>
CSS variable + fill
:root { --c: #e040e9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e040e9; background-color: #e040e9; bg-[#e040e9]