Skip to content
Vectorlight.net

#f03786

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

HEX
#f03786
RGB
240, 55, 134
HSL
334.38°, 86.05%, 57.84%
OKLCH
0.64 0.23 0.46
Names
—
Lists

Codes

FormatValue
HEX#f03786
RGBrgb(240 55 134)
HSLhsl(334.38 86.05% 57.84%)
OKLCHoklch(0.64 0.23 0.46)
CMYKcmyk(0% 77.08% 44.17% 5.88%)
Android#fff03786

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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