#D307A8

A medium, vivid magenta closely aligning with Mediumvioletred.

About #D307A8

The hex code #D307A8 represents a beautifully specific shade of magenta. Designers often compare it to the standard color Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 211, 7, and 168.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 97% Magenta, 20% Yellow, and 17% Black. With a hue angle of 312.6 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. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#D307A8
RGB211, 7, 168
HSL312.6°, 93.6%, 42.7%
CMYK0%, 97%, 20%, 17%
HSV312.6°, 96.7%, 82.7%
LAB48.0, 78.9, -31.0
XYZ34.0, 16.8, 38.5
Decimal13830056

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.81:1
Text on #FFFFFF
AA
4.37:1
Text on #000000
AA Large
4.60:1
Text on #F8FAFC
AA
3.71:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585