Skip to content
Vectorlight.net

#fb1815

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

HEX
#fb1815
RGB
251, 24, 21
HSL
0.78°, 96.64%, 53.33%
OKLCH
0.63 0.25 28.79
Names
—
Lists

Codes

FormatValue
HEX#fb1815
RGBrgb(251 24 21)
HSLhsl(0.78 96.64% 53.33%)
OKLCHoklch(0.63 0.25 28.79)
CMYKcmyk(0% 90.44% 91.63% 1.57%)
Android#fffb1815

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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