Skip to content
Vectorlight.net

#f5252d

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

HEX
#f5252d
RGB
245, 37, 45
HSL
357.69°, 91.23%, 55.29%
OKLCH
0.62 0.24 26.35
Names
—
Lists

Codes

FormatValue
HEX#f5252d
RGBrgb(245 37 45)
HSLhsl(357.69 91.23% 55.29%)
OKLCHoklch(0.62 0.24 26.35)
CMYKcmyk(0% 84.9% 81.63% 3.92%)
Android#fff5252d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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