Skip to content
Vectorlight.net

#ac0728

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

HEX
#ac0728
RGB
172, 7, 40
HSL
348°, 92.18%, 35.1%
OKLCH
0.47 0.19 21.33
Names
—
Lists

Codes

FormatValue
HEX#ac0728
RGBrgb(172 7 40)
HSLhsl(348 92.18% 35.1%)
OKLCHoklch(0.47 0.19 21.33)
CMYKcmyk(0% 95.93% 76.74% 32.55%)
Android#ffac0728

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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