#AF0757

A dark, vivid magenta closely aligning with Mediumvioletred.

About #AF0757

The precise color #AF0757 is an excellent choice for modern design projects. It is closely associated with the named CSS color Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 7, and 87.

Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 96% Magenta, 50% Yellow, and 31% Black. The HSL representation is 331.4° hue, 92.3% saturation, and 35.7% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#AF0757
RGB175, 7, 87
HSL331.4°, 92.3%, 35.7%
CMYK0%, 96%, 50%, 31%
HSV331.4°, 96.0%, 68.6%
LAB37.8, 63.0, 2.7
XYZ19.5, 10.0, 9.9
Decimal11470679

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.02:1
Text on #FFFFFF
AAA
2.99:1
Text on #000000
FAIL
6.71:1
Text on #F8FAFC
AA
2.54:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585