Skip to content
Vectorlight.net

#8f797f

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

HEX
#8f797f
RGB
143, 121, 127
HSL
343.64°, 8.94%, 51.76%
OKLCH
0.6 0.03 359.72
Names
—
Lists

Codes

FormatValue
HEX#8f797f
RGBrgb(143 121 127)
HSLhsl(343.64 8.94% 51.76%)
OKLCHoklch(0.6 0.03 359.72)
CMYKcmyk(0% 15.38% 11.19% 43.92%)
Android#ff8f797f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#8f797f"
Gradient stop
<stop stop-color="#8f797f"/>
CSS variable + fill
:root { --c: #8f797f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #8f797f;
background-color: #8f797f;
bg-[#8f797f]