Skip to content
Vectorlight.net

#c54d97

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

HEX
#c54d97
RGB
197, 77, 151
HSL
323°, 50.85%, 53.73%
OKLCH
0.6 0.17 345.55
Names
—
Lists

Codes

FormatValue
HEX#c54d97
RGBrgb(197 77 151)
HSLhsl(323 50.85% 53.73%)
OKLCHoklch(0.6 0.17 345.55)
CMYKcmyk(0% 60.91% 23.35% 22.75%)
Android#ffc54d97

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.88:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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