Skip to content
Vectorlight.net

#795172

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

HEX
#795172
RGB
121, 81, 114
HSL
310.5°, 19.8%, 39.61%
OKLCH
0.49 0.07 333
Names
—
Lists

Codes

FormatValue
HEX#795172
RGBrgb(121 81 114)
HSLhsl(310.5 19.8% 39.61%)
OKLCHoklch(0.49 0.07 333)
CMYKcmyk(0% 33.06% 5.79% 52.55%)
Android#ff795172

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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