Skip to content
Vectorlight.net

#c12db7

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

HEX
#c12db7
RGB
193, 45, 183
HSL
304.05°, 62.18%, 46.67%
OKLCH
0.58 0.23 331.15
Names
—
Lists

Codes

FormatValue
HEX#c12db7
RGBrgb(193 45 183)
HSLhsl(304.05 62.18% 46.67%)
OKLCHoklch(0.58 0.23 331.15)
CMYKcmyk(0% 76.68% 5.18% 24.31%)
Android#ffc12db7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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