Skip to content
Vectorlight.net

#42645f

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

HEX
#42645f
RGB
66, 100, 95
HSL
171.18°, 20.48%, 32.55%
OKLCH
0.48 0.04 184.46
Names
—
Lists

Codes

FormatValue
HEX#42645f
RGBrgb(66 100 95)
HSLhsl(171.18 20.48% 32.55%)
OKLCHoklch(0.48 0.04 184.46)
CMYKcmyk(34% 0% 5% 60.78%)
Android#ff42645f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42645f;
background-color: #42645f;
bg-[#42645f]