#dc2811
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 | #dc2811 | |
| RGB | rgb(220 40 17) | |
| HSL | hsl(6.8 85.65% 46.47%) | |
| OKLCH | oklch(0.58 0.22 30.86) | |
| CMYK | cmyk(0% 81.82% 92.27% 13.73%) | |
| Android | #ffdc2811 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35: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="#dc2811"
Gradient stop
<stop stop-color="#dc2811"/>
CSS variable + fill
:root { --c: #dc2811; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc2811; background-color: #dc2811; bg-[#dc2811]