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