#a71f3d
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 | #a71f3d | |
| RGB | rgb(167 31 61) | |
| HSL | hsl(346.76 68.69% 38.82%) | |
| OKLCH | oklch(0.48 0.17 14.99) | |
| CMYK | cmyk(0% 81.44% 63.47% 34.51%) | |
| Android | #ffa71f3d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.90: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="#a71f3d"
Gradient stop
<stop stop-color="#a71f3d"/>
CSS variable + fill
:root { --c: #a71f3d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a71f3d; background-color: #a71f3d; bg-[#a71f3d]