#a5331f
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 | #a5331f | |
| RGB | rgb(165 51 31) | |
| HSL | hsl(8.96 68.37% 38.43%) | |
| OKLCH | oklch(0.49 0.15 32.34) | |
| CMYK | cmyk(0% 69.09% 81.21% 35.29%) | |
| Android | #ffa5331f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.09: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="#a5331f"
Gradient stop
<stop stop-color="#a5331f"/>
CSS variable + fill
:root { --c: #a5331f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a5331f; background-color: #a5331f; bg-[#a5331f]