#df5170
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 | #df5170 | |
| RGB | rgb(223 81 112) | |
| HSL | hsl(346.9 68.93% 59.61%) | |
| OKLCH | oklch(0.63 0.18 10.58) | |
| CMYK | cmyk(0% 63.68% 49.78% 12.55%) | |
| Android | #ffdf5170 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#df5170"
Gradient stop
<stop stop-color="#df5170"/>
CSS variable + fill
:root { --c: #df5170; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df5170; background-color: #df5170; bg-[#df5170]