#df245c
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 | #df245c | |
| RGB | rgb(223 36 92) | |
| HSL | hsl(342.03 74.5% 50.78%) | |
| OKLCH | oklch(0.59 0.22 11.16) | |
| CMYK | cmyk(0% 83.86% 58.74% 12.55%) | |
| Android | #ffdf245c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#df245c"
Gradient stop
<stop stop-color="#df245c"/>
CSS variable + fill
:root { --c: #df245c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df245c; background-color: #df245c; bg-[#df245c]