Skip to content
Vectorlight.net

#c4338e

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

HEX
#c4338e
RGB
196, 51, 142
HSL
322.34°, 58.7%, 48.43%
OKLCH
0.57 0.2 346.89
Names
—
Lists

Codes

FormatValue
HEX#c4338e
RGBrgb(196 51 142)
HSLhsl(322.34 58.7% 48.43%)
OKLCHoklch(0.57 0.2 346.89)
CMYKcmyk(0% 73.98% 27.55% 23.14%)
Android#ffc4338e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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