#AF078A
A dark, vivid magenta closely aligning with Mediumvioletred.
About #AF078A
The precise color #AF078A is an excellent choice for modern design projects. It is closely associated with the named CSS color Mediumvioletred. This translates to an RGB value of rgb(175, 7, 138).
If you are designing for print, the four-color process is what matters most. To reproduce this shade on paper, a printer utilizes 0% cyan and 96% magenta inks. This makes it a relatively light color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#AF078A
RGB175, 7, 138
HSL313.2°, 92.3%, 35.7%
CMYK0%, 96%, 21%, 31%
HSV313.2°, 96.0%, 68.6%
LAB39.7, 68.3, -26.4
XYZ22.3, 11.1, 25.0
Decimal11470730
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.52:1
Text on #FFFFFF
AA
3.22:1
Text on #000000
AA Large
6.23:1
Text on #F8FAFC
AA
2.74:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #AF078A;
}
.text-color {
color: #AF078A;
}
.border-color {
border: 2px solid #AF078A;
}