Skip to content
Vectorlight.net

#406152

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

HEX
#406152
RGB
64, 97, 82
HSL
152.73°, 20.5%, 31.57%
OKLCH
0.46 0.05 164.45
Names
—
Lists

Codes

FormatValue
HEX#406152
RGBrgb(64 97 82)
HSLhsl(152.73 20.5% 31.57%)
OKLCHoklch(0.46 0.05 164.45)
CMYKcmyk(34.02% 0% 15.46% 61.96%)
Android#ff406152

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #406152;
background-color: #406152;
bg-[#406152]