#e21486
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 | #e21486 | |
| RGB | rgb(226 20 134) | |
| HSL | hsl(326.8 83.74% 48.24%) | |
| OKLCH | oklch(0.6 0.24 355.54) | |
| CMYK | cmyk(0% 91.15% 40.71% 11.37%) | |
| Android | #ffe21486 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.67: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="#e21486"
Gradient stop
<stop stop-color="#e21486"/>
CSS variable + fill
:root { --c: #e21486; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e21486; background-color: #e21486; bg-[#e21486]