Skip to content
Vectorlight.net

#c172bb

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

HEX
#c172bb
RGB
193, 114, 187
HSL
304.56°, 38.92%, 60.2%
OKLCH
0.66 0.14 329.75
Names
—
Lists

Codes

FormatValue
HEX#c172bb
RGBrgb(193 114 187)
HSLhsl(304.56 38.92% 60.2%)
OKLCHoklch(0.66 0.14 329.75)
CMYKcmyk(0% 40.93% 3.11% 24.31%)
Android#ffc172bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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