#AF42A0
A medium, moderate magenta closely aligning with Orchid.
About #AF42A0
Visually, #AF42A0 is defined as a moderate magenta. It is closely associated with the named CSS color Orchid. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 66, and 160.
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 0% cyan, 62% magenta, 9% yellow, and 31% black. With a hue angle of 308.3 degrees, it sits comfortably in the magenta spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AF42A0
RGB175, 66, 160
HSL308.3°, 45.2%, 47.3%
CMYK0%, 62%, 9%, 31%
HSV308.3°, 62.3%, 68.6%
LAB46.4, 55.6, -29.3
XYZ26.0, 15.5, 34.9
Decimal11485856
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.11:1
Text on #FFFFFF
AA
4.11:1
Text on #000000
AA Large
4.88:1
Text on #F8FAFC
AA
3.49:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #AF42A0;
}
.text-color {
color: #AF42A0;
}
.border-color {
border: 2px solid #AF42A0;
}