Skip to content
Vectorlight.net

#c548ab

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

HEX
#c548ab
RGB
197, 72, 171
HSL
312.48°, 51.87%, 52.75%
OKLCH
0.6 0.19 336.86
Names
—
Lists

Codes

FormatValue
HEX#c548ab
RGBrgb(197 72 171)
HSLhsl(312.48 51.87% 52.75%)
OKLCHoklch(0.6 0.19 336.86)
CMYKcmyk(0% 63.45% 13.2% 22.75%)
Android#ffc548ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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