#ef145d
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 | #ef145d | |
| RGB | rgb(239 20 93) | |
| HSL | hsl(340 87.25% 50.78%) | |
| OKLCH | oklch(0.61 0.24 11.86) | |
| CMYK | cmyk(0% 91.63% 61.09% 6.27%) | |
| Android | #ffef145d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.26:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.92: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="#ef145d"
Gradient stop
<stop stop-color="#ef145d"/>
CSS variable + fill
:root { --c: #ef145d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef145d; background-color: #ef145d; bg-[#ef145d]