Skip to content
Vectorlight.net

#ac237d

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

HEX
#ac237d
RGB
172, 35, 125
HSL
320.58°, 66.18%, 40.59%
OKLCH
0.51 0.19 345.95
Names
—
Lists

Codes

FormatValue
HEX#ac237d
RGBrgb(172 35 125)
HSLhsl(320.58 66.18% 40.59%)
OKLCHoklch(0.51 0.19 345.95)
CMYKcmyk(0% 79.65% 27.33% 32.55%)
Android#ffac237d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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