#a5791c
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 | #a5791c | |
| RGB | rgb(165 121 28) | |
| HSL | hsl(40.73 70.98% 37.84%) | |
| OKLCH | oklch(0.6 0.12 80.73) | |
| CMYK | cmyk(0% 26.67% 83.03% 35.29%) | |
| Android | #ffa5791c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.92:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.35:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a5791c"
Gradient stop
<stop stop-color="#a5791c"/>
CSS variable + fill
:root { --c: #a5791c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a5791c; background-color: #a5791c; bg-[#a5791c]