#ec0083
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 | #ec0083 | |
| RGB | rgb(236 0 131) | |
| HSL | hsl(326.69 100% 46.27%) | |
| OKLCH | oklch(0.61 0.25 358.11) | |
| CMYK | cmyk(0% 100% 44.49% 7.45%) | |
| Android | #ffec0083 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.89: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="#ec0083"
Gradient stop
<stop stop-color="#ec0083"/>
CSS variable + fill
:root { --c: #ec0083; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec0083; background-color: #ec0083; bg-[#ec0083]