Skip to content
Vectorlight.net

#fb112d

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

HEX
#fb112d
RGB
251, 17, 45
HSL
352.82°, 96.69%, 52.55%
OKLCH
0.63 0.25 25.14
Names
—
Lists

Codes

FormatValue
HEX#fb112d
RGBrgb(251 17 45)
HSLhsl(352.82 96.69% 52.55%)
OKLCHoklch(0.63 0.25 25.14)
CMYKcmyk(0% 93.23% 82.07% 1.57%)
Android#fffb112d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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