Skip to content
Vectorlight.net

#c02faf

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

HEX
#c02faf
RGB
192, 47, 175
HSL
307.03°, 60.67%, 46.86%
OKLCH
0.58 0.22 333.43
Names
—
Lists

Codes

FormatValue
HEX#c02faf
RGBrgb(192 47 175)
HSLhsl(307.03 60.67% 46.86%)
OKLCHoklch(0.58 0.22 333.43)
CMYKcmyk(0% 75.52% 8.85% 24.71%)
Android#ffc02faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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