Skip to content
Vectorlight.net

#c0157d

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

HEX
#c0157d
RGB
192, 21, 125
HSL
323.51°, 80.28%, 41.76%
OKLCH
0.54 0.21 350.97
Names
—
Lists

Codes

FormatValue
HEX#c0157d
RGBrgb(192 21 125)
HSLhsl(323.51 80.28% 41.76%)
OKLCHoklch(0.54 0.21 350.97)
CMYKcmyk(0% 89.06% 34.9% 24.71%)
Android#ffc0157d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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