#ec505b
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 | #ec505b | |
| RGB | rgb(236 80 91) | |
| HSL | hsl(355.77 80.41% 61.96%) | |
| OKLCH | oklch(0.65 0.19 20.33) | |
| CMYK | cmyk(0% 66.1% 61.44% 7.45%) | |
| Android | #ffec505b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.58:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.86: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="#ec505b"
Gradient stop
<stop stop-color="#ec505b"/>
CSS variable + fill
:root { --c: #ec505b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec505b; background-color: #ec505b; bg-[#ec505b]