#e71258
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 | #e71258 | |
| RGB | rgb(231 18 88) | |
| HSL | hsl(340.28 85.54% 48.82%) | |
| OKLCH | oklch(0.6 0.23 12.35) | |
| CMYK | cmyk(0% 92.21% 61.9% 9.41%) | |
| Android | #ffe71258 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62: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="#e71258"
Gradient stop
<stop stop-color="#e71258"/>
CSS variable + fill
:root { --c: #e71258; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e71258; background-color: #e71258; bg-[#e71258]