#542002
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 | #542002 | |
| RGB | rgb(84 32 2) | |
| HSL | hsl(21.95 95.35% 16.86%) | |
| OKLCH | oklch(0.32 0.09 45.78) | |
| CMYK | cmyk(0% 61.9% 97.62% 67.06%) | |
| Android | #ff542002 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.25:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.58: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="#542002"
Gradient stop
<stop stop-color="#542002"/>
CSS variable + fill
:root { --c: #542002; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #542002; background-color: #542002; bg-[#542002]