#AF1D7C
A medium, vivid magenta closely aligning with Mediumvioletred.
About #AF1D7C
Visually, #AF1D7C is defined as a vivid magenta. Its closest recognized web color is Mediumvioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 29, and 124.
If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 0% cyan, 83% magenta, 29% yellow, and 31% black. The HSL representation is 321.0° hue, 71.6% saturation, and 40.0% 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. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#AF1D7C
RGB175, 29, 124
HSL321.0°, 71.6%, 40.0%
CMYK0%, 83%, 29%, 31%
HSV321.0°, 83.4%, 68.6%
LAB40.3, 63.1, -16.8
XYZ21.8, 11.4, 20.1
Decimal11476348
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.38:1
Text on #FFFFFF
AA
3.29:1
Text on #000000
AA Large
6.10:1
Text on #F8FAFC
AA
2.80:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #AF1D7C;
}
.text-color {
color: #AF1D7C;
}
.border-color {
border: 2px solid #AF1D7C;
}