Skip to content
Vectorlight.net

#fa51a5

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

HEX
#fa51a5
RGB
250, 81, 165
HSL
330.18°, 94.41%, 64.9%
OKLCH
0.69 0.22 353.77
Names
—
Lists

Codes

FormatValue
HEX#fa51a5
RGBrgb(250 81 165)
HSLhsl(330.18 94.41% 64.9%)
OKLCHoklch(0.69 0.22 353.77)
CMYKcmyk(0% 67.6% 34% 1.96%)
Android#fffa51a5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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