#dc2917
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 | #dc2917 | |
| RGB | rgb(220 41 23) | |
| HSL | hsl(5.48 81.07% 47.65%) | |
| OKLCH | oklch(0.58 0.21 30.27) | |
| CMYK | cmyk(0% 81.36% 89.55% 13.73%) | |
| Android | #ffdc2917 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.37: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="#dc2917"
Gradient stop
<stop stop-color="#dc2917"/>
CSS variable + fill
:root { --c: #dc2917; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc2917; background-color: #dc2917; bg-[#dc2917]