Skip to content
Vectorlight.net

#a6038b

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

HEX
#a6038b
RGB
166, 3, 139
HSL
309.94°, 96.45%, 33.14%
OKLCH
0.49 0.22 337.69
Names
—
Lists

Codes

FormatValue
HEX#a6038b
RGBrgb(166 3 139)
HSLhsl(309.94 96.45% 33.14%)
OKLCHoklch(0.49 0.22 337.69)
CMYKcmyk(0% 98.19% 16.27% 34.9%)
Android#ffa6038b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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