Skip to content
Vectorlight.net

#ac045c

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

HEX
#ac045c
RGB
172, 4, 92
HSL
328.57°, 95.45%, 34.51%
OKLCH
0.48 0.19 359.12
Names
—
Lists

Codes

FormatValue
HEX#ac045c
RGBrgb(172 4 92)
HSLhsl(328.57 95.45% 34.51%)
OKLCHoklch(0.48 0.19 359.12)
CMYKcmyk(0% 97.67% 46.51% 32.55%)
Android#ffac045c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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