Skip to content
Vectorlight.net

#f18cd8

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

HEX
#f18cd8
RGB
241, 140, 216
HSL
314.85°, 78.29%, 74.71%
OKLCH
0.77 0.15 336.85
Names
—
Lists

Codes

FormatValue
HEX#f18cd8
RGBrgb(241 140 216)
HSLhsl(314.85 78.29% 74.71%)
OKLCHoklch(0.77 0.15 336.85)
CMYKcmyk(0% 41.91% 10.37% 5.49%)
Android#fff18cd8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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