Skip to content
Vectorlight.net

#f640db

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

HEX
#f640db
RGB
246, 64, 219
HSL
308.9°, 91%, 60.78%
OKLCH
0.69 0.26 334.91
Names
—
Lists

Codes

FormatValue
HEX#f640db
RGBrgb(246 64 219)
HSLhsl(308.9 91% 60.78%)
OKLCHoklch(0.69 0.26 334.91)
CMYKcmyk(0% 73.98% 10.98% 3.53%)
Android#fff640db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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