Skip to content
Vectorlight.net

#a798b0

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

HEX
#a798b0
RGB
167, 152, 176
HSL
277.5°, 13.19%, 64.31%
OKLCH
0.7 0.04 312.94
Names
—
Lists

Codes

FormatValue
HEX#a798b0
RGBrgb(167 152 176)
HSLhsl(277.5 13.19% 64.31%)
OKLCHoklch(0.7 0.04 312.94)
CMYKcmyk(5.11% 13.64% 0% 30.98%)
Android#ffa798b0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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