Skip to content
Vectorlight.net

#f01595

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

HEX
#f01595
RGB
240, 21, 149
HSL
324.93°, 87.95%, 51.18%
OKLCH
0.63 0.25 353.43
Names
—
Lists

Codes

FormatValue
HEX#f01595
RGBrgb(240 21 149)
HSLhsl(324.93 87.95% 51.18%)
OKLCHoklch(0.63 0.25 353.43)
CMYKcmyk(0% 91.25% 37.92% 5.88%)
Android#fff01595

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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