#ec8d9d
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 | #ec8d9d | |
| RGB | rgb(236 141 157) | |
| HSL | hsl(349.89 71.43% 73.92%) | |
| OKLCH | oklch(0.75 0.12 9.41) | |
| CMYK | cmyk(0% 40.25% 33.47% 7.45%) | |
| Android | #ffec8d9d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.86: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="#ec8d9d"
Gradient stop
<stop stop-color="#ec8d9d"/>
CSS variable + fill
:root { --c: #ec8d9d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec8d9d; background-color: #ec8d9d; bg-[#ec8d9d]