Skip to content
Vectorlight.net

#31392c

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#31392c
RGB
49, 57, 44
HSL
96.92°, 12.87%, 19.8%
OKLCH
0.33 0.02 133.48
Names
—
Lists

Codes

FormatValue
HEX#31392c
RGBrgb(49 57 44)
HSLhsl(96.92 12.87% 19.8%)
OKLCHoklch(0.33 0.02 133.48)
CMYKcmyk(14.04% 0% 22.81% 77.65%)
Android#ff31392c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
11.98:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.75:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#31392c"
Gradient stop
<stop stop-color="#31392c"/>
CSS variable + fill
:root { --c: #31392c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #31392c;
background-color: #31392c;
bg-[#31392c]