Skip to content
Vectorlight.net

#fb7798

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

HEX
#fb7798
RGB
251, 119, 152
HSL
345°, 94.29%, 72.55%
OKLCH
0.73 0.16 6.28
Names
—
Lists

Codes

FormatValue
HEX#fb7798
RGBrgb(251 119 152)
HSLhsl(345 94.29% 72.55%)
OKLCHoklch(0.73 0.16 6.28)
CMYKcmyk(0% 52.59% 39.44% 1.57%)
Android#fffb7798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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