Medium Violet Red Color

HEX #C71585 · rgb(199, 21, 133) · hsl(322, 81%, 43%)

Medium Violet Red color codes

Medium Violet Red is one of the named colors every browser understands. In CSS you can write it as mediumvioletred or #C71585.

FormatValue
HEX#C71585
RGBrgb(199, 21, 133)
HSLhsl(322, 81%, 43%)
CMYK0%, 89%, 33%, 22%
CSS namemediumvioletred
.example {
  color: mediumvioletred;
  background-color: #C71585;
  border-color: rgb(199, 21, 133);
}

Colors that go with medium violet red

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#15C757Complementary
#B015C7Analogous
#C7152CAnalogous
#85C715Triadic
#1585C7Triadic

Tints and shades of medium violet red

Tints mix the color with white; shades mix it with black.

#F9E8F390% white
#F1C5E175% white
#E9A1CE60% white
#E07EBC45% white
#D85BAA30% white
#CF389715% white
#A9127115% black
#8B0F5D30% black
#6D0C4945% black
#50083560% black
#32052175% black
#14020D90% black

Contrast and readability

Black text
3.87:1
large text only
White text
5.42:1
passes AA

Use white text on medium violet red. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for medium violet red?

The hex code for medium violet red is #C71585.

What is the RGB value of medium violet red?

Medium Violet Red is rgb(199, 21, 133): 199 red, 21 green and 133 blue on a 0 to 255 scale.

What color goes with medium violet red?

Its complementary color is #15C757, which is closest to the named color lime green. Analogous and triadic matches are listed on this page.

Should text on medium violet red be black or white?

Use white text. The contrast ratio is 3.87:1 with black and 5.42:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.