#ec68c8
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 | #ec68c8 | |
| RGB | rgb(236 104 200) | |
| HSL | hsl(316.36 77.65% 66.67%) | |
| OKLCH | oklch(0.71 0.2 339.32) | |
| CMYK | cmyk(0% 55.93% 15.25% 7.45%) | |
| Android | #ffec68c8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.84:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.38: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="#ec68c8"
Gradient stop
<stop stop-color="#ec68c8"/>
CSS variable + fill
:root { --c: #ec68c8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec68c8; background-color: #ec68c8; bg-[#ec68c8]