Skip to content
Vectorlight.net

#f18cdc

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

HEX
#f18cdc
RGB
241, 140, 220
HSL
312.48°, 78.29%, 74.71%
OKLCH
0.77 0.16 335.12
Names
—
Lists

Codes

FormatValue
HEX#f18cdc
RGBrgb(241 140 220)
HSLhsl(312.48 78.29% 74.71%)
OKLCHoklch(0.77 0.16 335.12)
CMYKcmyk(0% 41.91% 8.71% 5.49%)
Android#fff18cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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