Skip to content
Vectorlight.net

#f0412d

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

HEX
#f0412d
RGB
240, 65, 45
HSL
6.15°, 86.67%, 55.88%
OKLCH
0.63 0.21 30.37
Names
—
Lists

Codes

FormatValue
HEX#f0412d
RGBrgb(240 65 45)
HSLhsl(6.15 86.67% 55.88%)
OKLCHoklch(0.63 0.21 30.37)
CMYKcmyk(0% 72.92% 81.25% 5.88%)
Android#fff0412d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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