Skip to content
Vectorlight.net

#f87bdb

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

HEX
#f87bdb
RGB
248, 123, 219
HSL
313.92°, 89.93%, 72.75%
OKLCH
0.76 0.19 336.89
Names
—
Lists

Codes

FormatValue
HEX#f87bdb
RGBrgb(248 123 219)
HSLhsl(313.92 89.93% 72.75%)
OKLCHoklch(0.76 0.19 336.89)
CMYKcmyk(0% 50.4% 11.69% 2.75%)
Android#fff87bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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