#42180d
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 | #42180d | |
| RGB | rgb(66 24 13) | |
| HSL | hsl(12.45 67.09% 15.49%) | |
| OKLCH | oklch(0.27 0.07 35.72) | |
| CMYK | cmyk(0% 63.64% 80.3% 74.12%) | |
| Android | #ff42180d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.34:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.36: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="#42180d"
Gradient stop
<stop stop-color="#42180d"/>
CSS variable + fill
:root { --c: #42180d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42180d; background-color: #42180d; bg-[#42180d]