#AF337C
A medium, moderate magenta closely aligning with Mediumvioletred.
About #AF337C
Visually, #AF337C is defined as a moderate magenta. It is closely associated with the named CSS color Mediumvioletred. This translates to an RGB value of rgb(175, 51, 124).
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 0% cyan, 71% magenta, 29% yellow, and 31% black. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AF337C
RGB175, 51, 124
HSL324.7°, 54.9%, 44.3%
CMYK0%, 71%, 29%, 31%
HSV324.7°, 70.9%, 68.6%
LAB42.7, 56.4, -13.3
XYZ22.5, 12.9, 20.4
Decimal11481980
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.85:1
Text on #FFFFFF
AA
3.59:1
Text on #000000
AA Large
5.59:1
Text on #F8FAFC
AA
3.05:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #AF337C;
}
.text-color {
color: #AF337C;
}
.border-color {
border: 2px solid #AF337C;
}