#ec6df8
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 | #ec6df8 | |
| RGB | rgb(236 109 248) | |
| HSL | hsl(294.82 90.85% 70%) | |
| OKLCH | oklch(0.74 0.23 324.12) | |
| CMYK | cmyk(4.84% 56.05% 0% 2.75%) | |
| Android | #ffec6df8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.58:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.10: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="#ec6df8"
Gradient stop
<stop stop-color="#ec6df8"/>
CSS variable + fill
:root { --c: #ec6df8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec6df8; background-color: #ec6df8; bg-[#ec6df8]