Skip to content
Vectorlight.net

#ac0232

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

HEX
#ac0232
RGB
172, 2, 50
HSL
343.06°, 97.7%, 34.12%
OKLCH
0.47 0.19 17.35
Names
—
Lists

Codes

FormatValue
HEX#ac0232
RGBrgb(172 2 50)
HSLhsl(343.06 97.7% 34.12%)
OKLCHoklch(0.47 0.19 17.35)
CMYKcmyk(0% 98.84% 70.93% 32.55%)
Android#ffac0232

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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