#a6796d
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 | #a6796d | |
| RGB | rgb(166 121 109) | |
| HSL | hsl(12.63 24.26% 53.92%) | |
| OKLCH | oklch(0.62 0.06 35.47) | |
| CMYK | cmyk(0% 27.11% 34.34% 34.9%) | |
| Android | #ffa6796d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.57: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="#a6796d"
Gradient stop
<stop stop-color="#a6796d"/>
CSS variable + fill
:root { --c: #a6796d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a6796d; background-color: #a6796d; bg-[#a6796d]