#ecb1dc
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 | #ecb1dc | |
| RGB | rgb(236 177 220) | |
| HSL | hsl(316.27 60.82% 80.98%) | |
| OKLCH | oklch(0.83 0.09 336.48) | |
| CMYK | cmyk(0% 25% 6.78% 7.45%) | |
| Android | #ffecb1dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.88: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="#ecb1dc"
Gradient stop
<stop stop-color="#ecb1dc"/>
CSS variable + fill
:root { --c: #ecb1dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecb1dc; background-color: #ecb1dc; bg-[#ecb1dc]