#df20c4
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 | #df20c4 | |
| RGB | rgb(223 32 196) | |
| HSL | hsl(308.48 74.9% 50%) | |
| OKLCH | oklch(0.63 0.26 335.4) | |
| CMYK | cmyk(0% 85.65% 12.11% 12.55%) | |
| Android | #ffdf20c4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.08:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.14: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="#df20c4"
Gradient stop
<stop stop-color="#df20c4"/>
CSS variable + fill
:root { --c: #df20c4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df20c4; background-color: #df20c4; bg-[#df20c4]