Skip to content
Vectorlight.net

#f03340

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

HEX
#f03340
RGB
240, 51, 64
HSL
355.87°, 86.3%, 57.06%
OKLCH
0.62 0.22 23.52
Names
—
Lists

Codes

FormatValue
HEX#f03340
RGBrgb(240 51 64)
HSLhsl(355.87 86.3% 57.06%)
OKLCHoklch(0.62 0.22 23.52)
CMYKcmyk(0% 78.75% 73.33% 5.88%)
Android#fff03340

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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