Skip to content
Vectorlight.net

#ff78dc

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

HEX
#ff78dc
RGB
255, 120, 220
HSL
315.56°, 100%, 73.53%
OKLCH
0.76 0.2 338.4
Names
—
Lists

Codes

FormatValue
HEX#ff78dc
RGBrgb(255 120 220)
HSLhsl(315.56 100% 73.53%)
OKLCHoklch(0.76 0.2 338.4)
CMYKcmyk(0% 52.94% 13.73% 0%)
Android#ffff78dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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