AfoliOpen Afoli →

Medium Violet Red color #C71585

Medium Violet Red is one of the CSS named colors (keyword mediumvioletred) with the hex code #C71585 — RGB 199, 21, 133, HSL 322°, 81%, 43%.

Open in Afoli Colour tools →

#C71585Medium Violet Red

Color codes

HEX
#C71585
RGB
rgb(199, 21, 133)
HSL
hsl(322, 81%, 43%)
CMYK
0%, 89%, 33%, 22%
OKLCH
oklch(55.3% 0.222 349.7)
CSS keyword
mediumvioletred

Tints and shades

#FFF0F7#FFC8E1#FF9BCC#FF63B9#E73FA0#C91987#A6006D#800053#5C003B#3B0024#1D000F

Color harmonies

Complementary
#C71585#008768
Analogous
#A733C1#C71585#D50138
Triadic
#C71585#787800#007DA6
Split complementary
#C71585#2A8900#008388
Tetradic
#C71585#966900#008768#0167F0

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Medium Violet Red text on white5.42 : 175AA — body text
Medium Violet Red text on black3.87 : 1-27AA for large text only
White text on Medium Violet Red5.42 : 1-80AA — body text
Black text on Medium Violet Red3.87 : 129AA for large text only

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Medium Violet Red?

Medium Violet Red has the hex code #C71585, which is RGB 199, 21, 133 and HSL 322°, 81%, 43%.

Which text color reads best on Medium Violet Red?

White text: contrast 5.42 : 1 (black text: 3.87 : 1).

Which colors go well with Medium Violet Red?

Its complementary color is #008768; analogous colors are #A733C1 and #D50138; a triadic set adds #787800 and #007DA6.

Similar colors

Sources and licences

Updated November 21, 2026