#ec9acc
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 | #ec9acc | |
| RGB | rgb(236 154 204) | |
| HSL | hsl(323.41 68.33% 76.47%) | |
| OKLCH | oklch(0.78 0.12 342.86) | |
| CMYK | cmyk(0% 34.75% 13.56% 7.45%) | |
| Android | #ffec9acc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.08:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.06: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="#ec9acc"
Gradient stop
<stop stop-color="#ec9acc"/>
CSS variable + fill
:root { --c: #ec9acc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec9acc; background-color: #ec9acc; bg-[#ec9acc]