Skip to content
Vectorlight.net

#c40bc3

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

HEX
#c40bc3
RGB
196, 11, 195
HSL
300.32°, 89.37%, 40.59%
OKLCH
0.58 0.26 328.61
Names
—
Lists

Codes

FormatValue
HEX#c40bc3
RGBrgb(196 11 195)
HSLhsl(300.32 89.37% 40.59%)
OKLCHoklch(0.58 0.26 328.61)
CMYKcmyk(0% 94.39% 0.51% 23.14%)
Android#ffc40bc3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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