#D342A0

A medium, moderate magenta closely aligning with Mediumvioletred.

About #D342A0

The hex code #D342A0 represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Mediumvioletred. Its digital footprint relies on 211 parts red, 66 parts green, and 160 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 69% Magenta, 24% Yellow, and 17% Black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#D342A0
RGB211, 66, 160
HSL321.1°, 62.2%, 54.3%
CMYK0%, 69%, 24%, 17%
HSV321.1°, 68.7%, 82.7%
LAB52.2, 65.1, -19.9
XYZ35.2, 20.3, 35.3
Decimal13845152

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.15:1
Text on #FFFFFF
AA Large
5.06:1
Text on #000000
AA
3.97:1
Text on #F8FAFC
AA Large
4.30:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585