Skip to content
Vectorlight.net

#a50247

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

HEX
#a50247
RGB
165, 2, 71
HSL
334.6°, 97.6%, 32.75%
OKLCH
0.46 0.18 7.04
Names
—
Lists

Codes

FormatValue
HEX#a50247
RGBrgb(165 2 71)
HSLhsl(334.6 97.6% 32.75%)
OKLCHoklch(0.46 0.18 7.04)
CMYKcmyk(0% 98.79% 56.97% 35.29%)
Android#ffa50247

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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