Skip to content
Vectorlight.net

#ac348b

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

HEX
#ac348b
RGB
172, 52, 139
HSL
316.5°, 53.57%, 43.92%
OKLCH
0.53 0.18 340.79
Names
—
Lists

Codes

FormatValue
HEX#ac348b
RGBrgb(172 52 139)
HSLhsl(316.5 53.57% 43.92%)
OKLCHoklch(0.53 0.18 340.79)
CMYKcmyk(0% 69.77% 19.19% 32.55%)
Android#ffac348b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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