Skip to content
Vectorlight.net

#42112e

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

HEX
#42112e
RGB
66, 17, 46
HSL
324.49°, 59.04%, 16.27%
OKLCH
0.27 0.08 347.62
Names
—
Lists

Codes

FormatValue
HEX#42112e
RGBrgb(66 17 46)
HSLhsl(324.49 59.04% 16.27%)
OKLCHoklch(0.27 0.08 347.62)
CMYKcmyk(0% 74.24% 30.3% 74.12%)
Android#ff42112e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42112e;
background-color: #42112e;
bg-[#42112e]