#40132e
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 | #40132e | |
| RGB | rgb(64 19 46) | |
| HSL | hsl(324 54.22% 16.27%) | |
| OKLCH | oklch(0.27 0.08 346.59) | |
| CMYK | cmyk(0% 70.31% 28.13% 74.9%) | |
| Android | #ff40132e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.35: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="#40132e"
Gradient stop
<stop stop-color="#40132e"/>
CSS variable + fill
:root { --c: #40132e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40132e; background-color: #40132e; bg-[#40132e]