Medium Violet Red Color Code (#c71585)

Medium Violet Red is #c71585 in hex and rgb(199, 21, 133) — a medium magenta. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Medium Violet Red
#c71585
CSS namemediumvioletred
Hex#c71585
RGBrgb(199, 21, 133)
HSLhsl(322 81% 43%)
HWBhwb(322 8% 22%)
CMYK0%, 89%, 33%, 22%

Tints and shades

Color harmonies

About Medium Violet Red

Medium Violet Red (mediumvioletred) is a medium, vivid magenta with the hex code #c71585, or rgb(199, 21, 133). In HSL it sits at a hue of 322°, 81% saturation and 43% lightness. It is one of the 148 named colors every browser understands, so you can write color: mediumvioletred; instead of the hex value.

Using Medium Violet Red for text and backgrounds

PairingContrast ratioWCAG
Medium Violet Red text on white5.42 : 1AA
Medium Violet Red text on black3.87 : 1AA large text only

On a medium violet red background, use white text (5.42 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: mediumvioletred;               /* or #c71585 */
  background-color: #c71585;
  border: 1px solid rgb(199 21 133 / 50%);
}

Similar named colors

Deep Pink (#ff1493), Dark Magenta (#8b008b), Purple (#800080), Crimson (#dc143c), Indian Red (#cd5c5c), Dark Orchid (#9932cc).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for medium violet red?
#c71585 — that is rgb(199, 21, 133) and hsl(322, 81%, 43%). In CSS you can also just write mediumvioletred.
Is medium violet red text readable on white?
Its contrast ratio on white is 5.42 : 1, which passes WCAG AA for normal text.
What colors go well with medium violet red?
Its complementary color is #15c656; analogous colors #af15c6 and #c6152d sit next to it on the color wheel.