Skip to content
Vectorlight.net

#f852c2

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

HEX
#f852c2
RGB
248, 82, 194
HSL
319.52°, 92.22%, 64.71%
OKLCH
0.7 0.23 343.33
Names
—
Lists

Codes

FormatValue
HEX#f852c2
RGBrgb(248 82 194)
HSLhsl(319.52 92.22% 64.71%)
OKLCHoklch(0.7 0.23 343.33)
CMYKcmyk(0% 66.94% 21.77% 2.75%)
Android#fff852c2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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