Skip to content
Vectorlight.net

#f0378d

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

HEX
#f0378d
RGB
240, 55, 141
HSL
332.11°, 86.05%, 57.84%
OKLCH
0.64 0.23 357.93
Names
—
Lists

Codes

FormatValue
HEX#f0378d
RGBrgb(240 55 141)
HSLhsl(332.11 86.05% 57.84%)
OKLCHoklch(0.64 0.23 357.93)
CMYKcmyk(0% 77.08% 41.25% 5.88%)
Android#fff0378d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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