Skip to content
Vectorlight.net

#f246fa

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

HEX
#f246fa
RGB
242, 70, 250
HSL
297.33°, 94.74%, 62.75%
OKLCH
0.71 0.28 326.08
Names
—
Lists

Codes

FormatValue
HEX#f246fa
RGBrgb(242 70 250)
HSLhsl(297.33 94.74% 62.75%)
OKLCHoklch(0.71 0.28 326.08)
CMYKcmyk(3.2% 72% 0% 1.96%)
Android#fff246fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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