Skip to content
Vectorlight.net

#fa40a8

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

HEX
#fa40a8
RGB
250, 64, 168
HSL
326.45°, 94.9%, 61.57%
OKLCH
0.68 0.24 351.3
Names
—
Lists

Codes

FormatValue
HEX#fa40a8
RGBrgb(250 64 168)
HSLhsl(326.45 94.9% 61.57%)
OKLCHoklch(0.68 0.24 351.3)
CMYKcmyk(0% 74.4% 32.8% 1.96%)
Android#fffa40a8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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