Skip to content
Vectorlight.net

#c5299e

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

HEX
#c5299e
RGB
197, 41, 158
HSL
315°, 65.55%, 46.67%
OKLCH
0.57 0.22 340.64
Names
—
Lists

Codes

FormatValue
HEX#c5299e
RGBrgb(197 41 158)
HSLhsl(315 65.55% 46.67%)
OKLCHoklch(0.57 0.22 340.64)
CMYKcmyk(0% 79.19% 19.8% 22.75%)
Android#ffc5299e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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