Skip to content
Vectorlight.net

#fa0478

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

HEX
#fa0478
RGB
250, 4, 120
HSL
331.71°, 96.85%, 49.8%
OKLCH
0.63 0.25 4.27
Names
—
Lists

Codes

FormatValue
HEX#fa0478
RGBrgb(250 4 120)
HSLhsl(331.71 96.85% 49.8%)
OKLCHoklch(0.63 0.25 4.27)
CMYKcmyk(0% 98.4% 52% 1.96%)
Android#fffa0478

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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