Skip to content
Vectorlight.net

#f5221a

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

HEX
#f5221a
RGB
245, 34, 26
HSL
2.19°, 91.63%, 53.14%
OKLCH
0.62 0.24 29
Names
—
Lists

Codes

FormatValue
HEX#f5221a
RGBrgb(245 34 26)
HSLhsl(2.19 91.63% 53.14%)
OKLCHoklch(0.62 0.24 29)
CMYKcmyk(0% 86.12% 89.39% 3.92%)
Android#fff5221a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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