Skip to content
Vectorlight.net

#a2285f

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

HEX
#a2285f
RGB
162, 40, 95
HSL
332.95°, 60.4%, 39.61%
OKLCH
0.49 0.16 357.93
Names
—
Lists

Codes

FormatValue
HEX#a2285f
RGBrgb(162 40 95)
HSLhsl(332.95 60.4% 39.61%)
OKLCHoklch(0.49 0.16 357.93)
CMYKcmyk(0% 75.31% 41.36% 36.47%)
Android#ffa2285f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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