Skip to content
Vectorlight.net

#f40488

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

HEX
#f40488
RGB
244, 4, 136
HSL
327°, 96.77%, 48.63%
OKLCH
0.63 0.26 358.07
Names
—
Lists

Codes

FormatValue
HEX#f40488
RGBrgb(244 4 136)
HSLhsl(327 96.77% 48.63%)
OKLCHoklch(0.63 0.26 358.07)
CMYKcmyk(0% 98.36% 44.26% 4.31%)
Android#fff40488

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="#f40488"
Gradient stop
<stop stop-color="#f40488"/>
CSS variable + fill
:root { --c: #f40488; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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