Skip to content
Vectorlight.net

#c04498

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

HEX
#c04498
RGB
192, 68, 152
HSL
319.35°, 49.6%, 50.98%
OKLCH
0.58 0.18 342.75
Names
—
Lists

Codes

FormatValue
HEX#c04498
RGBrgb(192 68 152)
HSLhsl(319.35 49.6% 50.98%)
OKLCHoklch(0.58 0.18 342.75)
CMYKcmyk(0% 64.58% 20.83% 24.71%)
Android#ffc04498

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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