Skip to content
Vectorlight.net

#c6178a

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

HEX
#c6178a
RGB
198, 23, 138
HSL
320.57°, 79.19%, 43.33%
OKLCH
0.55 0.22 347.62
Names
—
Lists

Codes

FormatValue
HEX#c6178a
RGBrgb(198 23 138)
HSLhsl(320.57 79.19% 43.33%)
OKLCHoklch(0.55 0.22 347.62)
CMYKcmyk(0% 88.38% 30.3% 22.35%)
Android#ffc6178a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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