Skip to content
Vectorlight.net

#f87ecc

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

HEX
#f87ecc
RGB
248, 126, 204
HSL
321.64°, 89.71%, 73.33%
OKLCH
0.75 0.17 342.97
Names
—
Lists

Codes

FormatValue
HEX#f87ecc
RGBrgb(248 126 204)
HSLhsl(321.64 89.71% 73.33%)
OKLCHoklch(0.75 0.17 342.97)
CMYKcmyk(0% 49.19% 17.74% 2.75%)
Android#fff87ecc

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="#f87ecc"
Gradient stop
<stop stop-color="#f87ecc"/>
CSS variable + fill
:root { --c: #f87ecc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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