Skip to content
Vectorlight.net

#ac3271

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

HEX
#ac3271
RGB
172, 50, 113
HSL
329.02°, 54.95%, 43.53%
OKLCH
0.52 0.17 352.91
Names
—
Lists

Codes

FormatValue
HEX#ac3271
RGBrgb(172 50 113)
HSLhsl(329.02 54.95% 43.53%)
OKLCHoklch(0.52 0.17 352.91)
CMYKcmyk(0% 70.93% 34.3% 32.55%)
Android#ffac3271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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