#d72028
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 | #d72028 | |
| RGB | rgb(215 32 40) | |
| HSL | hsl(357.38 74.09% 48.43%) | |
| OKLCH | oklch(0.56 0.21 26.05) | |
| CMYK | cmyk(0% 85.12% 81.4% 15.69%) | |
| Android | #ffd72028 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12: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="#d72028"
Gradient stop
<stop stop-color="#d72028"/>
CSS variable + fill
:root { --c: #d72028; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d72028; background-color: #d72028; bg-[#d72028]