Skip to content
Vectorlight.net

#f522a0

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

HEX
#f522a0
RGB
245, 34, 160
HSL
324.17°, 91.34%, 54.71%
OKLCH
0.65 0.25 351.34
Names
—
Lists

Codes

FormatValue
HEX#f522a0
RGBrgb(245 34 160)
HSLhsl(324.17 91.34% 54.71%)
OKLCHoklch(0.65 0.25 351.34)
CMYKcmyk(0% 86.12% 34.69% 3.92%)
Android#fff522a0

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.73:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.61:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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