Skip to content
Vectorlight.net

#c5397e

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

HEX
#c5397e
RGB
197, 57, 126
HSL
330.43°, 55.12%, 49.8%
OKLCH
0.57 0.19 354.54
Names
—
Lists

Codes

FormatValue
HEX#c5397e
RGBrgb(197 57 126)
HSLhsl(330.43 55.12% 49.8%)
OKLCHoklch(0.57 0.19 354.54)
CMYKcmyk(0% 71.07% 36.04% 22.75%)
Android#ffc5397e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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