#31390c
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 | #31390c | |
| RGB | rgb(49 57 12) | |
| HSL | hsl(70.67 65.22% 13.53%) | |
| OKLCH | oklch(0.33 0.07 118.94) | |
| CMYK | cmyk(14.04% 0% 78.95% 77.65%) | |
| Android | #ff31390c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.72: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="#31390c"
Gradient stop
<stop stop-color="#31390c"/>
CSS variable + fill
:root { --c: #31390c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #31390c; background-color: #31390c; bg-[#31390c]