#ec56bf
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 | #ec56bf | |
| RGB | rgb(236 86 191) | |
| HSL | hsl(318 79.79% 63.14%) | |
| OKLCH | oklch(0.68 0.21 341.54) | |
| CMYK | cmyk(0% 63.56% 19.07% 7.45%) | |
| Android | #ffec56bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.65: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="#ec56bf"
Gradient stop
<stop stop-color="#ec56bf"/>
CSS variable + fill
:root { --c: #ec56bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec56bf; background-color: #ec56bf; bg-[#ec56bf]