Skip to content
Vectorlight.net

#5f424d

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

HEX
#5f424d
RGB
95, 66, 77
HSL
337.24°, 18.01%, 31.57%
OKLCH
0.42 0.04 354.64
Names
—
Lists

Codes

FormatValue
HEX#5f424d
RGBrgb(95 66 77)
HSLhsl(337.24 18.01% 31.57%)
OKLCHoklch(0.42 0.04 354.64)
CMYKcmyk(0% 30.53% 18.95% 62.75%)
Android#ff5f424d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5f424d;
background-color: #5f424d;
bg-[#5f424d]