#40111f
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 | #40111f | |
| RGB | rgb(64 17 31) | |
| HSL | hsl(342.13 58.02% 15.88%) | |
| OKLCH | oklch(0.26 0.07 5.54) | |
| CMYK | cmyk(0% 73.44% 51.56% 74.9%) | |
| Android | #ff40111f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.93:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.31: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="#40111f"
Gradient stop
<stop stop-color="#40111f"/>
CSS variable + fill
:root { --c: #40111f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40111f; background-color: #40111f; bg-[#40111f]