#ef048e
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 | #ef048e | |
| RGB | rgb(239 4 142) | |
| HSL | hsl(324.77 96.71% 47.65%) | |
| OKLCH | oklch(0.62 0.25 355.16) | |
| CMYK | cmyk(0% 98.33% 40.59% 6.27%) | |
| Android | #ffef048e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.07: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="#ef048e"
Gradient stop
<stop stop-color="#ef048e"/>
CSS variable + fill
:root { --c: #ef048e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef048e; background-color: #ef048e; bg-[#ef048e]