Skip to content
Vectorlight.net

#f157cd

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

HEX
#f157cd
RGB
241, 87, 205
HSL
314.03°, 84.62%, 64.31%
OKLCH
0.7 0.23 338.23
Names
—
Lists

Codes

FormatValue
HEX#f157cd
RGBrgb(241 87 205)
HSLhsl(314.03 84.62% 64.31%)
OKLCHoklch(0.7 0.23 338.23)
CMYKcmyk(0% 63.9% 14.94% 5.49%)
Android#fff157cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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