Swatchproof

Medium violet red #C71585

Medium violet red is one of the named colours in CSS, written mediumvioletred. White text reaches 5.42:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordmediumvioletred
HEX#C71585
RGBrgb(199 21 133)
HSLhsl(322 81% 43%)
OKLCHoklch(55.3% 0.222 349.7)
White text5.42:1 · body text AA Pass
Black text3.87:1 · body text AA Fail

Colours that go with Medium violet red

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Rosolanc Purple (#B73F74), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Medium violet red itself.

ColourHEXContrast with Medium violet redBody text AA
Turquoise Green#B5DECC3.69:1Fail
Black#1113143.44:1Fail
Light Green Yellow#C7D14F3.27:1Fail
Dull Violet Black#1E0E3F3.26:1Fail
Light Glaucous Blue#A5C8D13.04:1Fail
Orange Yellow#FCB3152.99:1Fail
Red Violet#59256A2.04:1Fail
Spinel Red#F272911.96:1Fail
Orange#F374201.89:1Fail
Cinnamon Rufous#C275441.53:1Fail
Helvetia Blue#005B8D1.34:1Fail
Olive#837E311.29:1Fail
Andover Green#6D7E771.26:1Fail

Palettes with Rosolanc Purple

Shades and tints of Medium violet red

Nine lightness steps in OKLCH that keep the hue of Medium violet red. Chroma is reduced only where sRGB cannot show it.

:root {
  --mediumvioletred-100: #FFF1F7;
  --mediumvioletred-200: #FFD8E9;
  --mediumvioletred-300: #FFB4D7;
  --mediumvioletred-400: #FF7EC1;
  --mediumvioletred-500: #ED45A6;
  --mediumvioletred-600: #C61384;
  --mediumvioletred-700: #990064;
  --mediumvioletred-800: #6C0045;
  --mediumvioletred-900: #420029;
}

Text that keeps Medium violet red on screen

Text #C71585 on #FFF1F7 reaches 4.95:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours