Skip to content
Vectorlight.net

#c9048d

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

HEX
#c9048d
RGB
201, 4, 141
HSL
318.27°, 96.1%, 40.2%
OKLCH
0.56 0.23 346.93
Names
—
Lists

Codes

FormatValue
HEX#c9048d
RGBrgb(201 4 141)
HSLhsl(318.27 96.1% 40.2%)
OKLCHoklch(0.56 0.23 346.93)
CMYKcmyk(0% 98.01% 29.85% 21.18%)
Android#ffc9048d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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