Skip to content
Vectorlight.net

#ff50dc

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

HEX
#ff50dc
RGB
255, 80, 220
HSL
312°, 100%, 65.69%
OKLCH
0.72 0.25 337.03
Names
—
Lists

Codes

FormatValue
HEX#ff50dc
RGBrgb(255 80 220)
HSLhsl(312 100% 65.69%)
OKLCHoklch(0.72 0.25 337.03)
CMYKcmyk(0% 68.63% 13.73% 0%)
Android#ffff50dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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