#842e1f
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 | #842e1f | |
| RGB | rgb(132 46 31) | |
| HSL | hsl(8.91 61.96% 31.96%) | |
| OKLCH | oklch(0.43 0.12 32.15) | |
| CMYK | cmyk(0% 65.15% 76.52% 48.24%) | |
| Android | #ff842e1f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.39: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="#842e1f"
Gradient stop
<stop stop-color="#842e1f"/>
CSS variable + fill
:root { --c: #842e1f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #842e1f; background-color: #842e1f; bg-[#842e1f]