Skip to content
Vectorlight.net

#f870bb

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

HEX
#f870bb
RGB
248, 112, 187
HSL
326.91°, 90.67%, 70.59%
OKLCH
0.73 0.18 348.4
Names
—
Lists

Codes

FormatValue
HEX#f870bb
RGBrgb(248 112 187)
HSLhsl(326.91 90.67% 70.59%)
OKLCHoklch(0.73 0.18 348.4)
CMYKcmyk(0% 54.84% 24.6% 2.75%)
Android#fff870bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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