#8a504f
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 | #8a504f | |
| RGB | rgb(138 80 79) | |
| HSL | hsl(1.02 27.19% 42.55%) | |
| OKLCH | oklch(0.5 0.08 21.3) | |
| CMYK | cmyk(0% 42.03% 42.75% 45.88%) | |
| Android | #ff8a504f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#8a504f"
Gradient stop
<stop stop-color="#8a504f"/>
CSS variable + fill
:root { --c: #8a504f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a504f; background-color: #8a504f; bg-[#8a504f]