Skip to content
Vectorlight.net

#c50fac

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

HEX
#c50fac
RGB
197, 15, 172
HSL
308.24°, 85.85%, 41.57%
OKLCH
0.57 0.25 335.64
Names
—
Lists

Codes

FormatValue
HEX#c50fac
RGBrgb(197 15 172)
HSLhsl(308.24 85.85% 41.57%)
OKLCHoklch(0.57 0.25 335.64)
CMYKcmyk(0% 92.39% 12.69% 22.75%)
Android#ffc50fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.03:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#c50fac"
Gradient stop
<stop stop-color="#c50fac"/>
CSS variable + fill
:root { --c: #c50fac; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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