Skip to content
Vectorlight.net

#312d2e

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

HEX
#312d2e
RGB
49, 45, 46
HSL
345°, 4.26%, 18.43%
OKLCH
0.3 0.01 0.43
Names
—
Lists

Codes

FormatValue
HEX#312d2e
RGBrgb(49 45 46)
HSLhsl(345 4.26% 18.43%)
OKLCHoklch(0.3 0.01 0.43)
CMYKcmyk(0% 8.16% 6.12% 80.78%)
Android#ff312d2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
13.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.54: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="#312d2e"
Gradient stop
<stop stop-color="#312d2e"/>
CSS variable + fill
:root { --c: #312d2e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #312d2e;
background-color: #312d2e;
bg-[#312d2e]