#542829
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 | #542829 | |
| RGB | rgb(84 40 41) | |
| HSL | hsl(358.64 35.48% 24.31%) | |
| OKLCH | oklch(0.34 0.07 19.75) | |
| CMYK | cmyk(0% 52.38% 51.19% 67.06%) | |
| Android | #ff542829 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.71: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="#542829"
Gradient stop
<stop stop-color="#542829"/>
CSS variable + fill
:root { --c: #542829; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #542829; background-color: #542829; bg-[#542829]