Skip to content
Vectorlight.net

mediumvioletred (#c71585)

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

HEX
#c71585
RGB
199, 21, 133
HSL
322.25°, 80.91%, 43.14%
OKLCH
0.55 0.22 349.69
Names
mediumvioletred
Lists

Codes

FormatValue
HEX#c71585
RGBrgb(199 21 133)
HSLhsl(322.25 80.91% 43.14%)
OKLCHoklch(0.55 0.22 349.69)
CMYKcmyk(0% 89.45% 33.17% 21.96%)
Android#ffc71585

Names & lists

mediumvioletred CSS named

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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