Skip to content
Vectorlight.net

#f06a2a

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

HEX
#f06a2a
RGB
240, 106, 42
HSL
19.39°, 86.84%, 55.29%
OKLCH
0.68 0.18 42.85
Names
—
Lists

Codes

FormatValue
HEX#f06a2a
RGBrgb(240 106 42)
HSLhsl(19.39 86.84% 55.29%)
OKLCHoklch(0.68 0.18 42.85)
CMYKcmyk(0% 55.83% 82.5% 5.88%)
Android#fff06a2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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