Skip to content
Vectorlight.net

#f162cf

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

HEX
#f162cf
RGB
241, 98, 207
HSL
314.27°, 83.63%, 66.47%
OKLCH
0.71 0.21 337.98
Names
—
Lists

Codes

FormatValue
HEX#f162cf
RGBrgb(241 98 207)
HSLhsl(314.27 83.63% 66.47%)
OKLCHoklch(0.71 0.21 337.98)
CMYKcmyk(0% 59.34% 14.11% 5.49%)
Android#fff162cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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