#d82024
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 | #d82024 | |
| RGB | rgb(216 32 36) | |
| HSL | hsl(358.7 74.19% 48.63%) | |
| OKLCH | oklch(0.57 0.22 26.93) | |
| CMYK | cmyk(0% 85.19% 83.33% 15.29%) | |
| Android | #ffd82024 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.05:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.15: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="#d82024"
Gradient stop
<stop stop-color="#d82024"/>
CSS variable + fill
:root { --c: #d82024; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d82024; background-color: #d82024; bg-[#d82024]