Skip to content
Vectorlight.net

#c140b2

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

HEX
#c140b2
RGB
193, 64, 178
HSL
306.98°, 50.99%, 50.39%
OKLCH
0.59 0.21 332.85
Names
—
Lists

Codes

FormatValue
HEX#c140b2
RGBrgb(193 64 178)
HSLhsl(306.98 50.99% 50.39%)
OKLCHoklch(0.59 0.21 332.85)
CMYKcmyk(0% 66.84% 7.77% 24.31%)
Android#ffc140b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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