Skip to content
Vectorlight.net

#f05042

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

HEX
#f05042
RGB
240, 80, 66
HSL
4.83°, 85.29%, 60%
OKLCH
0.65 0.2 28.71
Names
—
Lists

Codes

FormatValue
HEX#f05042
RGBrgb(240 80 66)
HSLhsl(4.83 85.29% 60%)
OKLCHoklch(0.65 0.2 28.71)
CMYKcmyk(0% 66.67% 72.5% 5.88%)
Android#fff05042

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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