#42242C
A dark, muted magenta closely aligning with Black.
About #42242C
The hex code #42242C represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Black. This translates to an RGB value of rgb(66, 36, 44).
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 0% cyan and 45% magenta inks. This makes it a relatively dark color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#42242C
RGB66, 36, 44
HSL344.0°, 29.4%, 20.0%
CMYK0%, 45%, 33%, 74%
HSV344.0°, 45.5%, 25.9%
LAB18.4, 15.5, 0.9
XYZ3.3, 2.6, 2.7
Decimal4334636
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.81:1
Text on #FFFFFF
AAA
1.52:1
Text on #000000
FAIL
13.20:1
Text on #F8FAFC
AAA
1.29:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #42242C;
}
.text-color {
color: #42242C;
}
.border-color {
border: 2px solid #42242C;
}