Skip to content
Vectorlight.net

#c50c8a

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

HEX
#c50c8a
RGB
197, 12, 138
HSL
319.14°, 88.52%, 40.98%
OKLCH
0.55 0.23 347.1
Names
—
Lists

Codes

FormatValue
HEX#c50c8a
RGBrgb(197 12 138)
HSLhsl(319.14 88.52% 40.98%)
OKLCHoklch(0.55 0.23 347.1)
CMYKcmyk(0% 93.91% 29.95% 22.75%)
Android#ffc50c8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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