Skip to content
Vectorlight.net

#f0797a

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

HEX
#f0797a
RGB
240, 121, 122
HSL
359.5°, 79.87%, 70.78%
OKLCH
0.71 0.15 20.94
Names
—
Lists

Codes

FormatValue
HEX#f0797a
RGBrgb(240 121 122)
HSLhsl(359.5 79.87% 70.78%)
OKLCHoklch(0.71 0.15 20.94)
CMYKcmyk(0% 49.58% 49.17% 5.88%)
Android#fff0797a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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