#ec6df5
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 | #ec6df5 | |
| RGB | rgb(236 109 245) | |
| HSL | hsl(296.03 87.18% 69.41%) | |
| OKLCH | oklch(0.74 0.22 324.94) | |
| CMYK | cmyk(3.67% 55.51% 0% 3.92%) | |
| Android | #ffec6df5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.60:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.07: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="#ec6df5"
Gradient stop
<stop stop-color="#ec6df5"/>
CSS variable + fill
:root { --c: #ec6df5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec6df5; background-color: #ec6df5; bg-[#ec6df5]