#a2001d
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 | #a2001d | |
| RGB | rgb(162 0 29) | |
| HSL | hsl(349.26 100% 31.76%) | |
| OKLCH | oklch(0.45 0.18 23.47) | |
| CMYK | cmyk(0% 100% 82.1% 36.47%) | |
| Android | #ffa2001d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.55: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="#a2001d"
Gradient stop
<stop stop-color="#a2001d"/>
CSS variable + fill
:root { --c: #a2001d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2001d; background-color: #a2001d; bg-[#a2001d]