#AF248A
A medium, moderate magenta closely aligning with Mediumvioletred.
About #AF248A
When working with digital screens, the color #AF248A is rendered by mixing light. Designers often compare it to the standard color Mediumvioletred. In the RGB color space, it consists of 175 red, 36 green, and 138 blue.
Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 79% Magenta, 21% Yellow, and 31% Black. The HSL representation is 316.0° hue, 65.9% saturation, and 41.4% lightness.
From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#AF248A
RGB175, 36, 138
HSL316.0°, 65.9%, 41.4%
CMYK0%, 79%, 21%, 31%
HSV316.0°, 79.4%, 68.6%
LAB41.5, 63.1, -23.6
XYZ22.9, 12.2, 25.2
Decimal11478154
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.10:1
Text on #FFFFFF
AA
3.44:1
Text on #000000
AA Large
5.83:1
Text on #F8FAFC
AA
2.93:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #AF248A;
}
.text-color {
color: #AF248A;
}
.border-color {
border: 2px solid #AF248A;
}