#FF0042
A medium, vivid magenta closely aligning with Crimson.
About #FF0042
Visually, #FF0042 is defined as a vivid magenta. Its closest recognized web color is Crimson. In the RGB color space, it consists of 255 red, 0 green, and 66 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 100% Magenta, 74% Yellow, and 0% Black. The HSL representation is 344.5° hue, 100.0% saturation, and 50.0% lightness.
When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#FF0042
RGB255, 0, 66
HSL344.5°, 100.0%, 50.0%
CMYK0%, 100%, 74%, 0%
HSV344.5°, 100.0%, 100.0%
LAB53.7, 81.3, 39.6
XYZ42.2, 21.7, 7.1
Decimal16711746
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.94:1
Text on #FFFFFF
AA Large
5.33:1
Text on #000000
AA
3.77:1
Text on #F8FAFC
AA Large
4.53:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #FF0042;
}
.text-color {
color: #FF0042;
}
.border-color {
border: 2px solid #FF0042;
}