Skip to content
Vectorlight.net

#f18fec

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

HEX
#f18fec
RGB
241, 143, 236
HSL
303.06°, 77.78%, 75.29%
OKLCH
0.78 0.16 328.85
Names
—
Lists

Codes

FormatValue
HEX#f18fec
RGBrgb(241 143 236)
HSLhsl(303.06 77.78% 75.29%)
OKLCHoklch(0.78 0.16 328.85)
CMYKcmyk(0% 40.66% 2.07% 5.49%)
Android#fff18fec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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