Skip to content
Vectorlight.net

#f0248b

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

HEX
#f0248b
RGB
240, 36, 139
HSL
329.71°, 87.18%, 54.12%
OKLCH
0.63 0.24 357.33
Names
—
Lists

Codes

FormatValue
HEX#f0248b
RGBrgb(240 36 139)
HSLhsl(329.71 87.18% 54.12%)
OKLCHoklch(0.63 0.24 357.33)
CMYKcmyk(0% 85% 42.08% 5.88%)
Android#fff0248b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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