Skip to content
Vectorlight.net

#312d2d

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

HEX
#312d2d
RGB
49, 45, 45
HSL
0°, 4.26%, 18.43%
OKLCH
0.3 0.01 17.48
Names
—
Lists

Codes

FormatValue
HEX#312d2d
RGBrgb(49 45 45)
HSLhsl(0 4.26% 18.43%)
OKLCHoklch(0.3 0.01 17.48)
CMYKcmyk(0% 8.16% 8.16% 80.78%)
Android#ff312d2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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