Skip to content
Vectorlight.net

#f05fdb

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

HEX
#f05fdb
RGB
240, 95, 219
HSL
308.69°, 82.86%, 65.69%
OKLCH
0.71 0.22 333.76
Names
—
Lists

Codes

FormatValue
HEX#f05fdb
RGBrgb(240 95 219)
HSLhsl(308.69 82.86% 65.69%)
OKLCHoklch(0.71 0.22 333.76)
CMYKcmyk(0% 60.42% 8.75% 5.88%)
Android#fff05fdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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