#e40ead
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 | #e40ead | |
| RGB | rgb(228 14 173) | |
| HSL | hsl(315.42 88.43% 47.45%) | |
| OKLCH | oklch(0.62 0.26 343.15) | |
| CMYK | cmyk(0% 93.86% 24.12% 10.59%) | |
| Android | #ffe40ead |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.22:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.96: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="#e40ead"
Gradient stop
<stop stop-color="#e40ead"/>
CSS variable + fill
:root { --c: #e40ead; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e40ead; background-color: #e40ead; bg-[#e40ead]