#a71021
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 | #a71021 | |
| RGB | rgb(167 16 33) | |
| HSL | hsl(353.25 82.51% 35.88%) | |
| OKLCH | oklch(0.47 0.18 23.97) | |
| CMYK | cmyk(0% 90.42% 80.24% 34.51%) | |
| Android | #ffa71021 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.73:1
Fail AA normal text
Fail 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="#a71021"
Gradient stop
<stop stop-color="#a71021"/>
CSS variable + fill
:root { --c: #a71021; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a71021; background-color: #a71021; bg-[#a71021]