Skip to content
Vectorlight.net

#c5147c

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

HEX
#c5147c
RGB
197, 20, 124
HSL
324.75°, 81.57%, 42.55%
OKLCH
0.55 0.22 352.59
Names
—
Lists

Codes

FormatValue
HEX#c5147c
RGBrgb(197 20 124)
HSLhsl(324.75 81.57% 42.55%)
OKLCHoklch(0.55 0.22 352.59)
CMYKcmyk(0% 89.85% 37.06% 22.75%)
Android#ffc5147c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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