#ec2d49
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 | #ec2d49 | |
| RGB | rgb(236 45 73) | |
| HSL | hsl(351.2 83.41% 55.1%) | |
| OKLCH | oklch(0.61 0.22 19.92) | |
| CMYK | cmyk(0% 80.93% 69.07% 7.45%) | |
| Android | #ffec2d49 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.03: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="#ec2d49"
Gradient stop
<stop stop-color="#ec2d49"/>
CSS variable + fill
:root { --c: #ec2d49; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec2d49; background-color: #ec2d49; bg-[#ec2d49]