Skip to content
Vectorlight.net

#c6171e

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

HEX
#c6171e
RGB
198, 23, 30
HSL
357.6°, 79.19%, 43.33%
OKLCH
0.53 0.2 26.78
Names
—
Lists

Codes

FormatValue
HEX#c6171e
RGBrgb(198 23 30)
HSLhsl(357.6 79.19% 43.33%)
OKLCHoklch(0.53 0.2 26.78)
CMYKcmyk(0% 88.38% 84.85% 22.35%)
Android#ffc6171e

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="#c6171e"
Gradient stop
<stop stop-color="#c6171e"/>
CSS variable + fill
:root { --c: #c6171e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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