#ef45cc
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 | #ef45cc | |
| RGB | rgb(239 69 204) | |
| HSL | hsl(312.35 84.16% 60.39%) | |
| OKLCH | oklch(0.68 0.25 337.53) | |
| CMYK | cmyk(0% 71.13% 14.64% 6.27%) | |
| Android | #ffef45cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.39: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="#ef45cc"
Gradient stop
<stop stop-color="#ef45cc"/>
CSS variable + fill
:root { --c: #ef45cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ef45cc; background-color: #ef45cc; bg-[#ef45cc]