Skip to content
Vectorlight.net

#c142bd

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

HEX
#c142bd
RGB
193, 66, 189
HSL
301.89°, 50.6%, 50.78%
OKLCH
0.6 0.21 329.13
Names
—
Lists

Codes

FormatValue
HEX#c142bd
RGBrgb(193 66 189)
HSLhsl(301.89 50.6% 50.78%)
OKLCHoklch(0.6 0.21 329.13)
CMYKcmyk(0% 65.8% 2.07% 24.31%)
Android#ffc142bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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