#5F2C42
A dark, moderate magenta closely aligning with Dimgray.
About #5F2C42
Visually, #5F2C42 is defined as a moderate magenta. Its closest recognized web color is Dimgray. Its digital footprint relies on 95 parts red, 44 parts green, and 66 parts blue light.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 54% magenta inks. The HSL representation is 334.1° hue, 36.7% saturation, and 27.3% lightness.
Ensuring your text is legible against this background is a key part of web design. 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#5F2C42
RGB95, 44, 66
HSL334.1°, 36.7%, 27.3%
CMYK0%, 54%, 31%, 63%
HSV334.1°, 53.7%, 37.3%
LAB25.6, 26.0, -3.0
XYZ6.6, 4.6, 5.7
Decimal6237250
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.91:1
Text on #FFFFFF
AAA
1.93:1
Text on #000000
FAIL
10.42:1
Text on #F8FAFC
AAA
1.64:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F2C42;
}
.text-color {
color: #5F2C42;
}
.border-color {
border: 2px solid #5F2C42;
}