#AF428A
A medium, moderate magenta closely aligning with Mediumvioletred.
About #AF428A
Visually, #AF428A is defined as a moderate magenta. Its closest recognized web color is Mediumvioletred. In the RGB color space, it consists of 175 red, 66 green, and 138 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 62% Magenta, 21% Yellow, and 31% Black. With a hue angle of 320.4 degrees, it sits comfortably in the magenta spectrum.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#AF428A
RGB175, 66, 138
HSL320.4°, 45.2%, 47.3%
CMYK0%, 62%, 21%, 31%
HSV320.4°, 62.3%, 68.6%
LAB45.4, 52.2, -17.6
XYZ24.2, 14.8, 25.6
Decimal11485834
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.29:1
Text on #FFFFFF
AA
3.97:1
Text on #000000
AA Large
5.06:1
Text on #F8FAFC
AA
3.37:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #AF428A;
}
.text-color {
color: #AF428A;
}
.border-color {
border: 2px solid #AF428A;
}