Skip to content
Vectorlight.net

#c41fab

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

HEX
#c41fab
RGB
196, 31, 171
HSL
309.09°, 72.69%, 44.51%
OKLCH
0.57 0.24 335.78
Names
—
Lists

Codes

FormatValue
HEX#c41fab
RGBrgb(196 31 171)
HSLhsl(309.09 72.69% 44.51%)
OKLCHoklch(0.57 0.24 335.78)
CMYKcmyk(0% 84.18% 12.76% 23.14%)
Android#ffc41fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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