Skip to content
Vectorlight.net

#f06dcf

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

HEX
#f06dcf
RGB
240, 109, 207
HSL
315.11°, 81.37%, 68.43%
OKLCH
0.72 0.2 338.2
Names
—
Lists

Codes

FormatValue
HEX#f06dcf
RGBrgb(240 109 207)
HSLhsl(315.11 81.37% 68.43%)
OKLCHoklch(0.72 0.2 338.2)
CMYKcmyk(0% 54.58% 13.75% 5.88%)
Android#fff06dcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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