#df1d87
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 | #df1d87 | |
| RGB | rgb(223 29 135) | |
| HSL | hsl(327.22 76.98% 49.41%) | |
| OKLCH | oklch(0.6 0.23 354.89) | |
| CMYK | cmyk(0% 87% 39.46% 12.55%) | |
| Android | #ffdf1d87 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66: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="#df1d87"
Gradient stop
<stop stop-color="#df1d87"/>
CSS variable + fill
:root { --c: #df1d87; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df1d87; background-color: #df1d87; bg-[#df1d87]