Skip to content
Vectorlight.net

#f5284d

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

HEX
#f5284d
RGB
245, 40, 77
HSL
349.17°, 91.11%, 55.88%
OKLCH
0.63 0.23 18.88
Names
—
Lists

Codes

FormatValue
HEX#f5284d
RGBrgb(245 40 77)
HSLhsl(349.17 91.11% 55.88%)
OKLCHoklch(0.63 0.23 18.88)
CMYKcmyk(0% 83.67% 68.57% 3.92%)
Android#fff5284d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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