#ef1858
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 | #ef1858 | |
| RGB | rgb(239 24 88) | |
| HSL | hsl(342.14 87.04% 51.57%) | |
| OKLCH | oklch(0.61 0.24 13.68) | |
| CMYK | cmyk(0% 89.96% 63.18% 6.27%) | |
| Android | #ffef1858 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#ef1858"
Gradient stop
<stop stop-color="#ef1858"/>
CSS variable + fill
:root { --c: #ef1858; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef1858; background-color: #ef1858; bg-[#ef1858]