#7C1D42
A dark, moderate magenta closely aligning with Brown.
About #7C1D42
The hex code #7C1D42 represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Brown. This translates to an RGB value of rgb(124, 29, 66).
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 77% M, 47% Y, and 51% K. The HSL representation is 336.6° hue, 62.1% saturation, and 30.0% lightness.
Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#7C1D42
RGB124, 29, 66
HSL336.6°, 62.1%, 30.0%
CMYK0%, 77%, 47%, 51%
HSV336.6°, 76.6%, 48.6%
LAB28.3, 43.1, 1.4
XYZ9.7, 5.6, 5.7
Decimal8133954
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.95:1
Text on #FFFFFF
AAA
2.11:1
Text on #000000
FAIL
9.51:1
Text on #F8FAFC
AAA
1.79:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #7C1D42;
}
.text-color {
color: #7C1D42;
}
.border-color {
border: 2px solid #7C1D42;
}