Skip to content
Vectorlight.net

#c50217

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

HEX
#c50217
RGB
197, 2, 23
HSL
353.54°, 97.99%, 39.02%
OKLCH
0.52 0.21 26.64
Names
—
Lists

Codes

FormatValue
HEX#c50217
RGBrgb(197 2 23)
HSLhsl(353.54 97.99% 39.02%)
OKLCHoklch(0.52 0.21 26.64)
CMYKcmyk(0% 98.98% 88.32% 22.75%)
Android#ffc50217

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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