#ef1e97
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 | #ef1e97 | |
| RGB | rgb(239 30 151) | |
| HSL | hsl(325.26 86.72% 52.75%) | |
| OKLCH | oklch(0.63 0.25 352.86) | |
| CMYK | cmyk(0% 87.45% 36.82% 6.27%) | |
| Android | #ffef1e97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.30: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="#ef1e97"
Gradient stop
<stop stop-color="#ef1e97"/>
CSS variable + fill
:root { --c: #ef1e97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef1e97; background-color: #ef1e97; bg-[#ef1e97]