#ef227f
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 | #ef227f | |
| RGB | rgb(239 34 127) | |
| HSL | hsl(332.78 86.5% 53.53%) | |
| OKLCH | oklch(0.63 0.24 1.14) | |
| CMYK | cmyk(0% 85.77% 46.86% 6.27%) | |
| Android | #ffef227f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20: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="#ef227f"
Gradient stop
<stop stop-color="#ef227f"/>
CSS variable + fill
:root { --c: #ef227f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef227f; background-color: #ef227f; bg-[#ef227f]