Skip to content
Vectorlight.net

#f028bb

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

HEX
#f028bb
RGB
240, 40, 187
HSL
315.9°, 86.96%, 54.9%
OKLCH
0.65 0.26 342.15
Names
—
Lists

Codes

FormatValue
HEX#f028bb
RGBrgb(240 40 187)
HSLhsl(315.9 86.96% 54.9%)
OKLCHoklch(0.65 0.26 342.15)
CMYKcmyk(0% 83.33% 22.08% 5.88%)
Android#fff028bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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