#AF167C
A dark, vivid magenta closely aligning with Mediumvioletred.
About #AF167C
The hex code #AF167C represents a beautifully specific shade of magenta. Designers often compare it to the standard color Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 22, and 124.
If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 0% C, 87% M, 29% Y, and 31% K. With a hue angle of 320.0 degrees, it sits comfortably in the magenta spectrum.
From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AF167C
RGB175, 22, 124
HSL320.0°, 77.7%, 38.6%
CMYK0%, 87%, 29%, 31%
HSV320.0°, 87.4%, 68.6%
LAB39.8, 64.5, -17.6
XYZ21.6, 11.1, 20.1
Decimal11474556
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.50:1
Text on #FFFFFF
AA
3.23:1
Text on #000000
AA Large
6.22:1
Text on #F8FAFC
AA
2.74:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #AF167C;
}
.text-color {
color: #AF167C;
}
.border-color {
border: 2px solid #AF167C;
}