Skip to content
Vectorlight.net

#f06bcf

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

HEX
#f06bcf
RGB
240, 107, 207
HSL
314.89°, 81.6%, 68.04%
OKLCH
0.72 0.2 338.1
Names
—
Lists

Codes

FormatValue
HEX#f06bcf
RGBrgb(240 107 207)
HSLhsl(314.89 81.6% 68.04%)
OKLCHoklch(0.72 0.2 338.1)
CMYKcmyk(0% 55.42% 13.75% 5.88%)
Android#fff06bcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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