Skip to content
Vectorlight.net

#f845dc

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

HEX
#f845dc
RGB
248, 69, 220
HSL
309.39°, 92.75%, 62.16%
OKLCH
0.7 0.26 335.17
Names
—
Lists

Codes

FormatValue
HEX#f845dc
RGBrgb(248 69 220)
HSLhsl(309.39 92.75% 62.16%)
OKLCHoklch(0.7 0.26 335.17)
CMYKcmyk(0% 72.18% 11.29% 2.75%)
Android#fff845dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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