#542425
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 | #542425 | |
| RGB | rgb(84 36 37) | |
| HSL | hsl(358.75 40% 23.53%) | |
| OKLCH | oklch(0.33 0.07 20.53) | |
| CMYK | cmyk(0% 57.14% 55.95% 67.06%) | |
| Android | #ff542425 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.65: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="#542425"
Gradient stop
<stop stop-color="#542425"/>
CSS variable + fill
:root { --c: #542425; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #542425; background-color: #542425; bg-[#542425]