Skip to content
Vectorlight.net

#c5097f

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

HEX
#c5097f
RGB
197, 9, 127
HSL
322.34°, 91.26%, 40.39%
OKLCH
0.54 0.22 351.13
Names
—
Lists

Codes

FormatValue
HEX#c5097f
RGBrgb(197 9 127)
HSLhsl(322.34 91.26% 40.39%)
OKLCHoklch(0.54 0.22 351.13)
CMYKcmyk(0% 95.43% 35.53% 22.75%)
Android#ffc5097f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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