Skip to content
Vectorlight.net

#c04798

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

HEX
#c04798
RGB
192, 71, 152
HSL
319.83°, 48.99%, 51.57%
OKLCH
0.59 0.18 342.98
Names
—
Lists

Codes

FormatValue
HEX#c04798
RGBrgb(192 71 152)
HSLhsl(319.83 48.99% 51.57%)
OKLCHoklch(0.59 0.18 342.98)
CMYKcmyk(0% 63.02% 20.83% 24.71%)
Android#ffc04798

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#c04798"
Gradient stop
<stop stop-color="#c04798"/>
CSS variable + fill
:root { --c: #c04798; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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