Skip to content
Vectorlight.net

#f5331a

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

HEX
#f5331a
RGB
245, 51, 26
HSL
6.85°, 91.63%, 53.14%
OKLCH
0.63 0.23 30.94
Names
—
Lists

Codes

FormatValue
HEX#f5331a
RGBrgb(245 51 26)
HSLhsl(6.85 91.63% 53.14%)
OKLCHoklch(0.63 0.23 30.94)
CMYKcmyk(0% 79.18% 89.39% 3.92%)
Android#fff5331a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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