Skip to content
Vectorlight.net

#ff789f

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

HEX
#ff789f
RGB
255, 120, 159
HSL
342.67°, 100%, 73.53%
OKLCH
0.74 0.17 3.88
Names
—
Lists

Codes

FormatValue
HEX#ff789f
RGBrgb(255 120 159)
HSLhsl(342.67 100% 73.53%)
OKLCHoklch(0.74 0.17 3.88)
CMYKcmyk(0% 52.94% 37.65% 0%)
Android#ffff789f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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