Skip to content
Vectorlight.net

#f0786b

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

HEX
#f0786b
RGB
240, 120, 107
HSL
5.86°, 81.6%, 68.04%
OKLCH
0.71 0.15 27.82
Names
—
Lists

Codes

FormatValue
HEX#f0786b
RGBrgb(240 120 107)
HSLhsl(5.86 81.6% 68.04%)
OKLCHoklch(0.71 0.15 27.82)
CMYKcmyk(0% 50% 55.42% 5.88%)
Android#fff0786b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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