HexeesDigital color, made useful.
Back to catalog
Color reference#C71585Medium Violet Red

Color reference

Medium Violet Red

RGB
rgb(199 21 133)
HSL
hsl(322 81% 43%)
HWB
hwb(322 8% 22%)
Color family
Magenta
Recommended foreground
#FFFFFF

Calculated profile

What the numbers say

At 322° hue, Medium Violet Red is a high-saturation, mid-lightness, warm-hue sRGB color. Its relative luminance is 14.37%. For text on this background, #FFFFFF produces the stronger contrast at 5.42:1.

HSL lightness
43%
HSL saturation
81%
Relative luminance
14.37%
Hue group
warm-hue

02

Copy-ready color formats

Equivalent sRGB notations calculated from the same six-digit HEX value.

03

Text contrast against this color

Ratios use WCAG relative luminance. Passing a ratio does not by itself certify an interface.

White text5.42:1

Aa

AA normal text
Pass
AA large text
Pass
AAA normal text
Fail
AAA large text
Pass
Black text3.87:1

Aa

AA normal text
Fail
AA large text
Pass
AAA normal text
Fail
AAA large text
Fail

04

Calculated tints and shades

Tints mix the color with white; shades mix it with black in sRGB.

Tints

Shades

05

Hue-wheel relationships

These colors keep the original HSL saturation and lightness while rotating hue. They are mathematical starting points, not automatic design recommendations.

06

Opacity variants

Eight-digit HEX and modern rgb() alpha syntax for the same opacity.

20%
40%
60%
80%

07

CSS starter

A small custom-property block using the calculated foreground with the stronger black-or-white contrast.

--color-mediumvioletred: #C71585;
--color-mediumvioletred-rgb: 199 21 133;
--color-mediumvioletred-hsl: 322 81% 43%;
color: #FFFFFF;
background-color: var(--color-mediumvioletred);

Community review

Suggest a correction

Correction for Medium Violet Red#C71585

Found an inaccurate name, explanation, source, or accessibility detail? Send a concise correction for editorial review.

20–2,000 characters. Plain text only.

Your email is stored only with this proposal so an editor can clarify the correction. It is never shown publicly.

08 / Verification

Where the values come from

The color name and HEX value are checked against the cited standard. RGB, HSL, HWB, luminance, and contrast are then calculated from that HEX value using published formulas.

Source for the name and HEX: W3C CSS named colors

A practical reference for digital color.

How to use colors© 2026 Hexees · hexees.com