#f56dec
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 | #f56dec | |
| RGB | rgb(245 109 236) | |
| HSL | hsl(303.97 87.18% 69.41%) | |
| OKLCH | oklch(0.74 0.22 330.14) | |
| CMYK | cmyk(0% 55.51% 3.67% 3.92%) | |
| Android | #fff56dec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.28: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="#f56dec"
Gradient stop
<stop stop-color="#f56dec"/>
CSS variable + fill
:root { --c: #f56dec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f56dec; background-color: #f56dec; bg-[#f56dec]