Skip to content
Vectorlight.net

#f40587

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

HEX
#f40587
RGB
244, 5, 135
HSL
327.36°, 95.98%, 48.82%
OKLCH
0.63 0.25 358.41
Names
—
Lists

Codes

FormatValue
HEX#f40587
RGBrgb(244 5 135)
HSLhsl(327.36 95.98% 48.82%)
OKLCHoklch(0.63 0.25 358.41)
CMYKcmyk(0% 97.95% 44.67% 4.31%)
Android#fff40587

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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