Skip to content
Vectorlight.net

#787a7f

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

HEX
#787a7f
RGB
120, 122, 127
HSL
222.86°, 2.83%, 48.43%
OKLCH
0.58 0.01 268.5
Names
—
Lists

Codes

FormatValue
HEX#787a7f
RGBrgb(120 122 127)
HSLhsl(222.86 2.83% 48.43%)
OKLCHoklch(0.58 0.01 268.5)
CMYKcmyk(5.51% 3.94% 0% 50.2%)
Android#ff787a7f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #787a7f;
background-color: #787a7f;
bg-[#787a7f]