Skip to content
Vectorlight.net

#fa40d4

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

HEX
#fa40d4
RGB
250, 64, 212
HSL
312.26°, 94.9%, 61.57%
OKLCH
0.69 0.26 337.78
Names
—
Lists

Codes

FormatValue
HEX#fa40d4
RGBrgb(250 64 212)
HSLhsl(312.26 94.9% 61.57%)
OKLCHoklch(0.69 0.26 337.78)
CMYKcmyk(0% 74.4% 15.2% 1.96%)
Android#fffa40d4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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