Skip to content
Vectorlight.net

#a28bac

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

HEX
#a28bac
RGB
162, 139, 172
HSL
281.82°, 16.58%, 60.98%
OKLCH
0.67 0.05 315.61
Names
—
Lists

Codes

FormatValue
HEX#a28bac
RGBrgb(162 139 172)
HSLhsl(281.82 16.58% 60.98%)
OKLCHoklch(0.67 0.05 315.61)
CMYKcmyk(5.81% 19.19% 0% 32.55%)
Android#ffa28bac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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