Skip to content
Vectorlight.net

#a2267f

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

HEX
#a2267f
RGB
162, 38, 127
HSL
316.94°, 62%, 39.22%
OKLCH
0.5 0.18 341.96
Names
—
Lists

Codes

FormatValue
HEX#a2267f
RGBrgb(162 38 127)
HSLhsl(316.94 62% 39.22%)
OKLCHoklch(0.5 0.18 341.96)
CMYKcmyk(0% 76.54% 21.6% 36.47%)
Android#ffa2267f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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