#ec34ba
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 | #ec34ba | |
| RGB | rgb(236 52 186) | |
| HSL | hsl(316.3 82.88% 56.47%) | |
| OKLCH | oklch(0.65 0.25 341.81) | |
| CMYK | cmyk(0% 77.97% 21.19% 7.45%) | |
| Android | #ffec34ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.64:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.76: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="#ec34ba"
Gradient stop
<stop stop-color="#ec34ba"/>
CSS variable + fill
:root { --c: #ec34ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec34ba; background-color: #ec34ba; bg-[#ec34ba]