#ec0d82
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 | #ec0d82 | |
| RGB | rgb(236 13 130) | |
| HSL | hsl(328.52 89.56% 48.82%) | |
| OKLCH | oklch(0.61 0.25 358.71) | |
| CMYK | cmyk(0% 94.49% 44.92% 7.45%) | |
| Android | #ffec0d82 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#ec0d82"
Gradient stop
<stop stop-color="#ec0d82"/>
CSS variable + fill
:root { --c: #ec0d82; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec0d82; background-color: #ec0d82; bg-[#ec0d82]