#40191c
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 | #40191c | |
| RGB | rgb(64 25 28) | |
| HSL | hsl(355.38 43.82% 17.45%) | |
| OKLCH | oklch(0.27 0.06 17.27) | |
| CMYK | cmyk(0% 60.94% 56.25% 74.9%) | |
| Android | #ff40191c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.37: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="#40191c"
Gradient stop
<stop stop-color="#40191c"/>
CSS variable + fill
:root { --c: #40191c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40191c; background-color: #40191c; bg-[#40191c]