Skip to content
Vectorlight.net

#f50872

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

HEX
#f50872
RGB
245, 8, 114
HSL
333.16°, 93.68%, 49.61%
OKLCH
0.63 0.25 5.49
Names
—
Lists

Codes

FormatValue
HEX#f50872
RGBrgb(245 8 114)
HSLhsl(333.16 93.68% 49.61%)
OKLCHoklch(0.63 0.25 5.49)
CMYKcmyk(0% 96.73% 53.47% 3.92%)
Android#fff50872

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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