Medium Violet Red color: hex code #C71585

#C71585 rgb(199, 21, 133)
Shades of pink

Medium Violet Red has the hex code #C71585. It is a vivid rose.

In the RGB color model it is made of 78% red, 8.2% green and 52.2% blue (199, 21, 133).

Its hue angle is 322°, with 81% saturation and 43% lightness. For print, the CMYK equivalent is 0% cyan, 89% magenta, 33% yellow and 22% black.

You can use it in CSS with the keyword mediumvioletred.

White text is the more readable choice on this background (contrast 5.42:1).

Medium Violet Red (#C71585) color codes

HEX#C71585
RGBrgb(199, 21, 133)
RGB percentrgb(78%, 8.2%, 52.2%)
HSLhsl(322, 81%, 43%)
HSV / HSBhsv(322, 89%, 78%)
CMYKcmyk(0%, 89%, 33%, 22%)
CIE LABlab(44.77, 70.99, -15.17)
CIE LCHlch(44.77, 72.59, 347.94)
CIE XYZxyz(28.057, 14.375, 23.483)
Decimal13047173
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Medium Violet Red, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #C71585RatioAAAAAAA large
Sample text3.87:1FailFailPass
Sample text5.42:1PassFailPass
#C71585 as text onRatioAAAAAAA large
Sample text5.42:1PassFailPass
Sample text3.87:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #C71585 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #c71585; }
.text { color: #c71585; }
.border { border: 2px solid #c71585; }
.transparent { background-color: rgb(199 21 133 / 50%); }
.gradient { background: linear-gradient(to right, #c71585, #c7152c); }
Background
Text color
Border

Similar colors

See #C71585 on its hex code page

Questions

What color is #C71585?
#C71585 is a vivid rose known as Medium Violet Red. It belongs to the pink family of colors.
What is the RGB value of Medium Violet Red?
The RGB value is 199, 21, 133: 199 red, 21 green and 133 blue on a 0 to 255 scale.
What is the complementary color of Medium Violet Red?
The complementary color is #15C757, found by rotating the hue 180° on the color wheel.
Is black or white text better on #C71585?
White text. Black text has a contrast ratio of 3.87:1 and white text 5.42:1. WCAG asks for at least 4.5:1 for normal text.