Skip to content
Vectorlight.net

#312d2f

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

HEX
#312d2f
RGB
49, 45, 47
HSL
330°, 4.26%, 18.43%
OKLCH
0.3 0.01 345.72
Names
—
Lists

Codes

FormatValue
HEX#312d2f
RGBrgb(49 45 47)
HSLhsl(330 4.26% 18.43%)
OKLCHoklch(0.3 0.01 345.72)
CMYKcmyk(0% 8.16% 4.08% 80.78%)
Android#ff312d2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
13.57: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="#312d2f"
Gradient stop
<stop stop-color="#312d2f"/>
CSS variable + fill
:root { --c: #312d2f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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