#AF1657
A dark, vivid magenta closely aligning with Mediumvioletred.
About #AF1657
The hex code #AF1657 represents a beautifully specific shade of magenta. Its closest recognized web color is Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 22, and 87.
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, 50% Y, and 31% K. With a hue angle of 334.5 degrees, it sits comfortably in the magenta spectrum.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AF1657
RGB175, 22, 87
HSL334.5°, 77.7%, 38.6%
CMYK0%, 87%, 50%, 31%
HSV334.5°, 87.4%, 68.6%
LAB38.5, 60.9, 3.8
XYZ19.7, 10.4, 10.0
Decimal11474519
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.83:1
Text on #FFFFFF
AA
3.08:1
Text on #000000
AA Large
6.53:1
Text on #F8FAFC
AA
2.61:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #AF1657;
}
.text-color {
color: #AF1657;
}
.border-color {
border: 2px solid #AF1657;
}