Skip to content
Vectorlight.net

#31241b

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

HEX
#31241b
RGB
49, 36, 27
HSL
24.55°, 28.95%, 14.9%
OKLCH
0.27 0.03 56.1
Names
—
Lists

Codes

FormatValue
HEX#31241b
RGBrgb(49 36 27)
HSLhsl(24.55 28.95% 14.9%)
OKLCHoklch(0.27 0.03 56.1)
CMYKcmyk(0% 26.53% 44.9% 80.78%)
Android#ff31241b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31241b;
background-color: #31241b;
bg-[#31241b]