#d0331c
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 | #d0331c | |
| RGB | rgb(208 51 28) | |
| HSL | hsl(7.67 76.27% 46.27%) | |
| OKLCH | oklch(0.56 0.2 31.44) | |
| CMYK | cmyk(0% 75.48% 86.54% 18.43%) | |
| Android | #ffd0331c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.03:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17: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="#d0331c"
Gradient stop
<stop stop-color="#d0331c"/>
CSS variable + fill
:root { --c: #d0331c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d0331c; background-color: #d0331c; bg-[#d0331c]