Skip to content
Vectorlight.net

#c4045f

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

HEX
#c4045f
RGB
196, 4, 95
HSL
331.56°, 96%, 39.22%
OKLCH
0.53 0.21 3.36
Names
—
Lists

Codes

FormatValue
HEX#c4045f
RGBrgb(196 4 95)
HSLhsl(331.56 96% 39.22%)
OKLCHoklch(0.53 0.21 3.36)
CMYKcmyk(0% 97.96% 51.53% 23.14%)
Android#ffc4045f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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