#df1538
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 | #df1538 | |
| RGB | rgb(223 21 56) | |
| HSL | hsl(349.6 82.79% 47.84%) | |
| OKLCH | oklch(0.58 0.22 21.5) | |
| CMYK | cmyk(0% 90.58% 74.89% 12.55%) | |
| Android | #ffdf1538 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.30:1
Fail 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="#df1538"
Gradient stop
<stop stop-color="#df1538"/>
CSS variable + fill
:root { --c: #df1538; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df1538; background-color: #df1538; bg-[#df1538]