#C71585

MediumVioletRed — Color Codes & Palette

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

Color Codes

Format Value
HEX #C71585
RGB rgb(199, 21, 133)
HSL hsl(322, 81%, 43%)

Shades of MediumVioletRed

#B41379#A2116D#8F0F60#7D0D54#6A0B47#58093B#45072F#330522

Tints of MediumVioletRed

#E21898#E92FA5#EC4BB1#EF67BD#F282C9#F59ED5#F8BAE1#FBD5ED

Color Pairings & Harmony

Complementary
#15C656
Analogous +30°
#C6152D
Analogous −30°
#AF15C6
Triadic +120°
#85C615
Triadic −120°
#1585C6

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
5.42:1 — AA pass for normal text
vs. Black (#000000)
3.87:1 — AA pass for large text only

CSS Snippet

.element {
  color: #C71585;
}

.element-bg {
  background-color: #C71585;
  color: #ffffff;
}

.element-border {
  border: 2px solid #C71585;
}

About MediumVioletRed

MediumVioletRed is a medium color with vivid, highly saturated, defined by the hex code #C71585. Its exact color model values are rgb(199, 21, 133) in RGB and hsl(322, 81%, 43%) in HSL (hue 322°, saturation 81%, lightness 43%). On a white background the contrast ratio is 5.42:1 — AA pass for normal text, and on black it is 3.87:1 — AA pass for large text only. Use MediumVioletRed for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of MediumVioletRed?
The RGB value of MediumVioletRed (#C71585) is rgb(199, 21, 133). Red = rgb(199, 21, 133), representing the amounts of red, green, and blue light on a 0–255 scale.
Is MediumVioletRed accessible on a white background?
The contrast ratio of MediumVioletRed on white (#FFFFFF) is 5.42:1 — AA pass for normal text. On black (#000000) the contrast ratio is 3.87:1 — AA pass for large text only. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with MediumVioletRed?
Based on color theory, MediumVioletRed (hsl(322, 81%, 43%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.