#AF246D

A medium, moderate magenta closely aligning with Mediumvioletred.

About #AF246D

The hex code #AF246D represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Mediumvioletred. This translates to an RGB value of rgb(175, 36, 109).

Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 0% cyan, 79% magenta, 38% yellow, and 31% black. With a hue angle of 328.5 degrees, it sits comfortably in the magenta spectrum.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AF246D
RGB175, 36, 109
HSL328.5°, 65.9%, 41.4%
CMYK0%, 79%, 38%, 31%
HSV328.5°, 79.4%, 68.6%
LAB40.4, 59.6, -7.4
XYZ21.1, 11.5, 15.6
Decimal11478125

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.37:1
Text on #FFFFFF
AA
3.30:1
Text on #000000
AA Large
6.09:1
Text on #F8FAFC
AA
2.80:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585