#ec8acc
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 | #ec8acc | |
| RGB | rgb(236 138 204) | |
| HSL | hsl(319.59 72.06% 73.33%) | |
| OKLCH | oklch(0.76 0.14 340.45) | |
| CMYK | cmyk(0% 41.53% 13.56% 7.45%) | |
| Android | #ffec8acc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.31:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.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="#ec8acc"
Gradient stop
<stop stop-color="#ec8acc"/>
CSS variable + fill
:root { --c: #ec8acc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec8acc; background-color: #ec8acc; bg-[#ec8acc]