Skip to content
Vectorlight.net

#c74faf

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

HEX
#c74faf
RGB
199, 79, 175
HSL
312°, 51.72%, 54.51%
OKLCH
0.62 0.19 336.21
Names
—
Lists

Codes

FormatValue
HEX#c74faf
RGBrgb(199 79 175)
HSLhsl(312 51.72% 54.51%)
OKLCHoklch(0.62 0.19 336.21)
CMYKcmyk(0% 60.3% 12.06% 21.96%)
Android#ffc74faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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