mediumvioletred (#C71585)

mediumvioletred is a CSS named color with the hex code #C71585, rgb(199, 21, 133). It is a medium, vivid pink.

mediumvioletred#C71585
Keywordmediumvioletred
HEX#c71585
RGBrgb(199, 21, 133)
HSLhsl(322, 81%, 43%)

Full #C71585 details: palettes, shades, color-blind view →

Description

Mediumvioletred (read as "medium violet red") has a hue of 322°, saturation 81% and lightness 43%, which places it in the pink & magenta family. The "medium" prefix is part of the CSS name, but CSS names are not systematic: for example darkgray (#A9A9A9) is lighter than gray (#808080).

Using mediumvioletred in CSS

.title { color: mediumvioletred; }
.box   { background: mediumvioletred; border-color: #c71585; }
.soft  { background: rgb(199 21 133 / 20%); }   /* mediumvioletred at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
deeppink#ff1493255, 20, 14712.2
darkmagenta#8b008b139, 0, 13914.4
purple#800080128, 0, 12816
mediumorchid#ba55d3186, 85, 21116.3
darkorchid#9932cc153, 50, 20416.7
palevioletred#db7093219, 112, 14718.1
darkviolet#9400d3148, 0, 21118.5
hotpink#ff69b4255, 105, 18019.7

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 5.42:1; with black text: 3.87:1. White body text on mediumvioletred meets WCAG AA.

Frequently asked questions

What is the hex code for mediumvioletred?
#C71585.
What colors are similar to mediumvioletred?
deeppink (#ff1493), darkmagenta (#8b008b), purple (#800080).