Skip to content
Vectorlight.net

#f545ab

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

HEX
#f545ab
RGB
245, 69, 171
HSL
325.23°, 89.8%, 61.57%
OKLCH
0.67 0.23 349.54
Names
—
Lists

Codes

FormatValue
HEX#f545ab
RGBrgb(245 69 171)
HSLhsl(325.23 89.8% 61.57%)
OKLCHoklch(0.67 0.23 349.54)
CMYKcmyk(0% 71.84% 30.2% 3.92%)
Android#fff545ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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