#ec2eaa
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 | #ec2eaa | |
| RGB | rgb(236 46 170) | |
| HSL | hsl(320.84 83.33% 55.29%) | |
| OKLCH | oklch(0.64 0.25 346.64) | |
| CMYK | cmyk(0% 80.51% 27.97% 7.45%) | |
| Android | #ffec2eaa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.79:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.53: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="#ec2eaa"
Gradient stop
<stop stop-color="#ec2eaa"/>
CSS variable + fill
:root { --c: #ec2eaa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec2eaa; background-color: #ec2eaa; bg-[#ec2eaa]