#AF00A0
A dark, vivid magenta closely aligning with Darkmagenta.
About #AF00A0
The hex code #AF00A0 represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Darkmagenta. This translates to an RGB value of rgb(175, 0, 160).
For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 0% C, 100% M, 9% Y, and 31% K. This makes it a relatively light color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#AF00A0
RGB175, 0, 160
HSL305.1°, 100.0%, 34.3%
CMYK0%, 100%, 9%, 31%
HSV305.1°, 100.0%, 68.6%
LAB40.7, 71.9, -38.3
XYZ24.0, 11.7, 34.2
Decimal11468960
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.31:1
Text on #FFFFFF
AA
3.33:1
Text on #000000
AA Large
6.03:1
Text on #F8FAFC
AA
2.83:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #AF00A0;
}
.text-color {
color: #AF00A0;
}
.border-color {
border: 2px solid #AF00A0;
}