Skip to content
Vectorlight.net

#a6045f

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

HEX
#a6045f
RGB
166, 4, 95
HSL
326.3°, 95.29%, 33.33%
OKLCH
0.47 0.19 356.16
Names
—
Lists

Codes

FormatValue
HEX#a6045f
RGBrgb(166 4 95)
HSLhsl(326.3 95.29% 33.33%)
OKLCHoklch(0.47 0.19 356.16)
CMYKcmyk(0% 97.59% 42.77% 34.9%)
Android#ffa6045f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.48: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="#a6045f"
Gradient stop
<stop stop-color="#a6045f"/>
CSS variable + fill
:root { --c: #a6045f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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