#ef507f
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 | #ef507f | |
| RGB | rgb(239 80 127) | |
| HSL | hsl(342.26 83.25% 62.55%) | |
| OKLCH | oklch(0.66 0.2 6.35) | |
| CMYK | cmyk(0% 66.53% 46.86% 6.27%) | |
| Android | #ffef507f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.12: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="#ef507f"
Gradient stop
<stop stop-color="#ef507f"/>
CSS variable + fill
:root { --c: #ef507f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef507f; background-color: #ef507f; bg-[#ef507f]