#AF5F99
A medium, moderate magenta closely aligning with Palevioletred.
About #AF5F99
The hex code #AF5F99 represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Palevioletred. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 95, and 153.
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 0% cyan and 46% magenta inks. The HSL representation is 316.5° hue, 33.3% saturation, and 52.9% lightness.
Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#AF5F99
RGB175, 95, 153
HSL316.5°, 33.3%, 52.9%
CMYK0%, 46%, 13%, 31%
HSV316.5°, 45.7%, 68.6%
LAB51.4, 40.4, -17.4
XYZ27.5, 19.6, 32.5
Decimal11493273
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.27:1
Text on #FFFFFF
AA Large
4.92:1
Text on #000000
AA
4.08:1
Text on #F8FAFC
AA Large
4.18:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #AF5F99;
}
.text-color {
color: #AF5F99;
}
.border-color {
border: 2px solid #AF5F99;
}