#ec49cf
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 | #ec49cf | |
| RGB | rgb(236 73 207) | |
| HSL | hsl(310.67 81.09% 60.59%) | |
| OKLCH | oklch(0.68 0.24 335.96) | |
| CMYK | cmyk(0% 69.07% 12.29% 7.45%) | |
| Android | #ffec49cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.27:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.42: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="#ec49cf"
Gradient stop
<stop stop-color="#ec49cf"/>
CSS variable + fill
:root { --c: #ec49cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec49cf; background-color: #ec49cf; bg-[#ec49cf]