Skip to content
Vectorlight.net

#f0798f

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

HEX
#f0798f
RGB
240, 121, 143
HSL
348.91°, 79.87%, 70.78%
OKLCH
0.72 0.15 9.85
Names
—
Lists

Codes

FormatValue
HEX#f0798f
RGBrgb(240 121 143)
HSLhsl(348.91 79.87% 70.78%)
OKLCHoklch(0.72 0.15 9.85)
CMYKcmyk(0% 49.58% 40.42% 5.88%)
Android#fff0798f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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