#d0331f
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 | #d0331f | |
| RGB | rgb(208 51 31) | |
| HSL | hsl(6.78 74.06% 46.86%) | |
| OKLCH | oklch(0.56 0.2 30.88) | |
| CMYK | cmyk(0% 75.48% 85.1% 18.43%) | |
| Android | #ffd0331f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.02: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="#d0331f"
Gradient stop
<stop stop-color="#d0331f"/>
CSS variable + fill
:root { --c: #d0331f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d0331f; background-color: #d0331f; bg-[#d0331f]