Skip to content
Vectorlight.net

#f0101f

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

HEX
#f0101f
RGB
240, 16, 31
HSL
355.98°, 88.19%, 50.2%
OKLCH
0.6 0.24 27.06
Names
—
Lists

Codes

FormatValue
HEX#f0101f
RGBrgb(240 16 31)
HSLhsl(355.98 88.19% 50.2%)
OKLCHoklch(0.6 0.24 27.06)
CMYKcmyk(0% 93.33% 87.08% 5.88%)
Android#fff0101f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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