#df181b
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 | #df181b | |
| RGB | rgb(223 24 27) | |
| HSL | hsl(359.1 80.57% 48.43%) | |
| OKLCH | oklch(0.57 0.23 27.86) | |
| CMYK | cmyk(0% 89.24% 87.89% 12.55%) | |
| Android | #ffdf181b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28: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="#df181b"
Gradient stop
<stop stop-color="#df181b"/>
CSS variable + fill
:root { --c: #df181b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df181b; background-color: #df181b; bg-[#df181b]