#42101f
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 | #42101f | |
| RGB | rgb(66 16 31) | |
| HSL | hsl(342 60.98% 16.08%) | |
| OKLCH | oklch(0.26 0.08 5.97) | |
| CMYK | cmyk(0% 75.76% 53.03% 74.12%) | |
| Android | #ff42101f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.32: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="#42101f"
Gradient stop
<stop stop-color="#42101f"/>
CSS variable + fill
:root { --c: #42101f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42101f; background-color: #42101f; bg-[#42101f]