Skip to content
Vectorlight.net

#fd04a2

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

HEX
#fd04a2
RGB
253, 4, 162
HSL
321.93°, 98.42%, 50.39%
OKLCH
0.65 0.27 351.71
Names
—
Lists

Codes

FormatValue
HEX#fd04a2
RGBrgb(253 4 162)
HSLhsl(321.93 98.42% 50.39%)
OKLCHoklch(0.65 0.27 351.71)
CMYKcmyk(0% 98.42% 35.97% 0.78%)
Android#fffd04a2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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