Skip to content
Vectorlight.net

#f878bb

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

HEX
#f878bb
RGB
248, 120, 187
HSL
328.59°, 90.14%, 72.16%
OKLCH
0.74 0.17 349.5
Names
—
Lists

Codes

FormatValue
HEX#f878bb
RGBrgb(248 120 187)
HSLhsl(328.59 90.14% 72.16%)
OKLCHoklch(0.74 0.17 349.5)
CMYKcmyk(0% 51.61% 24.6% 2.75%)
Android#fff878bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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