#ec003f
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 | #ec003f | |
| RGB | rgb(236 0 63) | |
| HSL | hsl(343.98 100% 46.27%) | |
| OKLCH | oklch(0.6 0.24 19.69) | |
| CMYK | cmyk(0% 100% 73.31% 7.45%) | |
| Android | #ffec003f |
Names & lists
Web-safe: No
Tailwind: rose-600
Contrast
Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.63: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="#ec003f"
Gradient stop
<stop stop-color="#ec003f"/>
CSS variable + fill
:root { --c: #ec003f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec003f; background-color: #ec003f; bg-[#ec003f]