Skip to content
Vectorlight.net

#fb798f

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

HEX
#fb798f
RGB
251, 121, 143
HSL
349.85°, 94.2%, 72.94%
OKLCH
0.73 0.16 11.27
Names
—
Lists

Codes

FormatValue
HEX#fb798f
RGBrgb(251 121 143)
HSLhsl(349.85 94.2% 72.94%)
OKLCHoklch(0.73 0.16 11.27)
CMYKcmyk(0% 51.79% 43.03% 1.57%)
Android#fffb798f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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