#D31D8A

A medium, vivid magenta closely aligning with Mediumvioletred.

About #D31D8A

The hex code #D31D8A represents a beautifully specific shade of magenta. Its closest recognized web color is Mediumvioletred. This translates to an RGB value of rgb(211, 29, 138).

If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 0% cyan, 86% magenta, 35% yellow, and 17% black. With a hue angle of 324.1 degrees, it sits comfortably in the magenta spectrum.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#D31D8A
RGB211, 29, 138
HSL324.1°, 75.8%, 47.1%
CMYK0%, 86%, 35%, 17%
HSV324.1°, 86.3%, 82.7%
LAB47.7, 72.9, -13.5
XYZ31.9, 16.6, 25.6
Decimal13835658

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.87:1
Text on #FFFFFF
AA
4.31:1
Text on #000000
AA Large
4.65:1
Text on #F8FAFC
AA
3.67:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #D31D8A; }
.text-color { color: #D31D8A; }
.border-color { border: 2px solid #D31D8A; }

Similar Colors

Mediumvioletred
#C71585