Skip to content
Vectorlight.net

#f05bc2

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

HEX
#f05bc2
RGB
240, 91, 194
HSL
318.52°, 83.24%, 64.9%
OKLCH
0.7 0.21 341.82
Names
—
Lists

Codes

FormatValue
HEX#f05bc2
RGBrgb(240 91 194)
HSLhsl(318.52 83.24% 64.9%)
OKLCHoklch(0.7 0.21 341.82)
CMYKcmyk(0% 62.08% 19.17% 5.88%)
Android#fff05bc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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