Skip to content
Vectorlight.net

#fc798b

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

HEX
#fc798b
RGB
252, 121, 139
HSL
351.76°, 95.62%, 73.14%
OKLCH
0.73 0.16 13.33
Names
—
Lists

Codes

FormatValue
HEX#fc798b
RGBrgb(252 121 139)
HSLhsl(351.76 95.62% 73.14%)
OKLCHoklch(0.73 0.16 13.33)
CMYKcmyk(0% 51.98% 44.84% 1.18%)
Android#fffc798b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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