Skip to content
Vectorlight.net

#f03dbb

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

HEX
#f03dbb
RGB
240, 61, 187
HSL
317.77°, 85.65%, 59.02%
OKLCH
0.67 0.24 342.73
Names
—
Lists

Codes

FormatValue
HEX#f03dbb
RGBrgb(240 61 187)
HSLhsl(317.77 85.65% 59.02%)
OKLCHoklch(0.67 0.24 342.73)
CMYKcmyk(0% 74.58% 22.08% 5.88%)
Android#fff03dbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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