#e51577
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 | #e51577 | |
| RGB | rgb(229 21 119) | |
| HSL | hsl(331.73 83.2% 49.02%) | |
| OKLCH | oklch(0.6 0.24 1.44) | |
| CMYK | cmyk(0% 90.83% 48.03% 10.2%) | |
| Android | #ffe51577 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.70: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="#e51577"
Gradient stop
<stop stop-color="#e51577"/>
CSS variable + fill
:root { --c: #e51577; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e51577; background-color: #e51577; bg-[#e51577]