Skip to content
Vectorlight.net

#f178e4

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

HEX
#f178e4
RGB
241, 120, 228
HSL
306.45°, 81.21%, 70.78%
OKLCH
0.75 0.2 331.52
Names
—
Lists

Codes

FormatValue
HEX#f178e4
RGBrgb(241 120 228)
HSLhsl(306.45 81.21% 70.78%)
OKLCHoklch(0.75 0.2 331.52)
CMYKcmyk(0% 50.21% 5.39% 5.49%)
Android#fff178e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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