Skip to content
Vectorlight.net

#c752ab

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

HEX
#c752ab
RGB
199, 82, 171
HSL
314.36°, 51.09%, 55.1%
OKLCH
0.62 0.18 337.94
Names
—
Lists

Codes

FormatValue
HEX#c752ab
RGBrgb(199 82 171)
HSLhsl(314.36 51.09% 55.1%)
OKLCHoklch(0.62 0.18 337.94)
CMYKcmyk(0% 58.79% 14.07% 21.96%)
Android#ffc752ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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