#F042C5
A light, vivid magenta closely aligning with Mediumvioletred.
About #F042C5
When working with digital screens, the color #F042C5 is rendered by mixing light. It is closely associated with the named CSS color Mediumvioletred. Its digital footprint relies on 240 parts red, 66 parts green, and 197 parts blue light.
Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 72% Magenta, 18% Yellow, and 6% 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. Because it is a light color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#F042C5
RGB240, 66, 197
HSL314.8°, 85.3%, 60.0%
CMYK0%, 72%, 18%, 6%
HSV314.8°, 72.5%, 94.1%
LAB58.5, 77.1, -31.3
XYZ48.0, 26.5, 55.4
Decimal15745733
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.34:1
Text on #FFFFFF
AA Large
6.29:1
Text on #000000
AA
3.19:1
Text on #F8FAFC
AA Large
5.35:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #F042C5;
}
.text-color {
color: #F042C5;
}
.border-color {
border: 2px solid #F042C5;
}