#AF42A8

A medium, moderate magenta closely aligning with Mediumorchid.

About #AF42A8

The hex code #AF42A8 represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Mediumorchid. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 66, and 168.

For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 0% cyan and 62% magenta inks. The HSL representation is 303.9° hue, 45.2% saturation, and 47.3% lightness.

From a UX and accessibility standpoint, contrast is paramount. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#AF42A8
RGB175, 66, 168
HSL303.9°, 45.2%, 47.3%
CMYK0%, 62%, 4%, 31%
HSV303.9°, 62.3%, 68.6%
LAB46.8, 56.9, -33.5
XYZ26.7, 15.8, 38.7
Decimal11485864

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

5.04:1
Text on #FFFFFF
AA
4.17:1
Text on #000000
AA Large
4.82:1
Text on #F8FAFC
AA
3.54:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Mediumorchid
#BA55D3