#AF077C

A dark, vivid magenta closely aligning with Mediumvioletred.

About #AF077C

When working with digital screens, the color #AF077C is rendered by mixing light. If you're using CSS, you might find it aligns closely with Mediumvioletred. In the RGB color space, it consists of 175 red, 7 green, and 124 blue.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 0% cyan, 96% magenta, 29% yellow, and 31% black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#AF077C
RGB175, 7, 124
HSL318.2°, 92.3%, 35.7%
CMYK0%, 96%, 29%, 31%
HSV318.2°, 96.0%, 68.6%
LAB39.1, 66.6, -18.7
XYZ21.4, 10.7, 20.0
Decimal11470716

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.68:1
Text on #FFFFFF
AA
3.14:1
Text on #000000
AA Large
6.38:1
Text on #F8FAFC
AA
2.67:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585