Skip to content
Vectorlight.net

#c51146

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

HEX
#c51146
RGB
197, 17, 70
HSL
342.33°, 84.11%, 41.96%
OKLCH
0.53 0.2 14.03
Names
—
Lists

Codes

FormatValue
HEX#c51146
RGBrgb(197 17 70)
HSLhsl(342.33 84.11% 41.96%)
OKLCHoklch(0.53 0.2 14.03)
CMYKcmyk(0% 91.37% 64.47% 22.75%)
Android#ffc51146

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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