Skip to content
Vectorlight.net

#c62aba

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

HEX
#c62aba
RGB
198, 42, 186
HSL
304.62°, 65%, 47.06%
OKLCH
0.59 0.24 331.69
Names
—
Lists

Codes

FormatValue
HEX#c62aba
RGBrgb(198 42 186)
HSLhsl(304.62 65% 47.06%)
OKLCHoklch(0.59 0.24 331.69)
CMYKcmyk(0% 78.79% 6.06% 22.35%)
Android#ffc62aba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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