#AF2C7C

A medium, moderate magenta closely aligning with Mediumvioletred.

About #AF2C7C

When working with digital screens, the color #AF2C7C is rendered by mixing light. It is closely associated with the named CSS color Mediumvioletred. This translates to an RGB value of rgb(175, 44, 124).

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

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #FFFFFF 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#AF2C7C
RGB175, 44, 124
HSL323.4°, 59.8%, 42.9%
CMYK0%, 75%, 29%, 31%
HSV323.4°, 74.9%, 68.6%
LAB41.8, 58.9, -14.6
XYZ22.2, 12.4, 20.3
Decimal11480188

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.04:1
Text on #FFFFFF
AA
3.47:1
Text on #000000
AA Large
5.78:1
Text on #F8FAFC
AA
2.95:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585