#D342A8

A medium, moderate magenta closely aligning with Mediumvioletred.

About #D342A8

Visually, #D342A8 is defined as a moderate magenta. It is closely associated with the named CSS color Mediumvioletred. In the RGB color space, it consists of 211 red, 66 green, and 168 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 69% magenta inks. With a hue angle of 317.8 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 #000000 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#D342A8
RGB211, 66, 168
HSL317.8°, 62.2%, 54.3%
CMYK0%, 69%, 20%, 17%
HSV317.8°, 68.7%, 82.7%
LAB52.5, 66.2, -24.1
XYZ35.9, 20.6, 39.1
Decimal13845160

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.11:1
Text on #FFFFFF
AA Large
5.11:1
Text on #000000
AA
3.92:1
Text on #F8FAFC
AA Large
4.35:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585