Skip to content
Vectorlight.net

#c5338e

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

HEX
#c5338e
RGB
197, 51, 142
HSL
322.6°, 58.87%, 48.63%
OKLCH
0.57 0.2 347.16
Names
—
Lists

Codes

FormatValue
HEX#c5338e
RGBrgb(197 51 142)
HSLhsl(322.6 58.87% 48.63%)
OKLCHoklch(0.57 0.2 347.16)
CMYKcmyk(0% 74.11% 27.92% 22.75%)
Android#ffc5338e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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