#ec3182
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 | #ec3182 | |
| RGB | rgb(236 49 130) | |
| HSL | hsl(334.01 83.11% 55.88%) | |
| OKLCH | oklch(0.63 0.23 0.61) | |
| CMYK | cmyk(0% 79.24% 44.92% 7.45%) | |
| Android | #ffec3182 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.94:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.32: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="#ec3182"
Gradient stop
<stop stop-color="#ec3182"/>
CSS variable + fill
:root { --c: #ec3182; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec3182; background-color: #ec3182; bg-[#ec3182]