#AF1D6D

A medium, vivid magenta closely aligning with Mediumvioletred.

About #AF1D6D

The hex code #AF1D6D represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 29, and 109.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 83% M, 38% Y, and 31% K. With a hue angle of 327.1 degrees, it sits comfortably in the magenta spectrum.

When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AF1D6D
RGB175, 29, 109
HSL327.1°, 71.6%, 40.0%
CMYK0%, 83%, 38%, 31%
HSV327.1°, 83.4%, 68.6%
LAB39.7, 61.4, -8.3
XYZ20.9, 11.1, 15.5
Decimal11476333

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.52:1
Text on #FFFFFF
AA
3.22:1
Text on #000000
AA Large
6.23:1
Text on #F8FAFC
AA
2.74:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585