Skip to content
Vectorlight.net

#f87fba

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

HEX
#f87fba
RGB
248, 127, 186
HSL
330.74°, 89.63%, 73.53%
OKLCH
0.75 0.16 351.12
Names
—
Lists

Codes

FormatValue
HEX#f87fba
RGBrgb(248 127 186)
HSLhsl(330.74 89.63% 73.53%)
OKLCHoklch(0.75 0.16 351.12)
CMYKcmyk(0% 48.79% 25% 2.75%)
Android#fff87fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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