#4D4042 color
The hex color #4D4042 is a dark, grayish red.
In the RGB color model it is made of 30.2% red, 25.1% green and 25.9% blue (77, 64, 66).
Its hue angle is 351°, with 9% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 14% yellow and 70% black.
The closest named color is Pitch Black (#483C41), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.87:1).
#4D4042 color codes
| HEX | #4D4042 | |
|---|---|---|
| RGB | rgb(77, 64, 66) | |
| RGB percent | rgb(30.2%, 25.1%, 25.9%) | |
| HSL | hsl(351, 9%, 28%) | |
| HSV / HSB | hsv(351, 17%, 30%) | |
| CMYK | cmyk(0%, 17%, 14%, 70%) | |
| CIE LAB | lab(28.48, 5.99, 0.87) | |
| CIE LCH | lch(28.48, 6.06, 8.28) | |
| CIE XYZ | xyz(5.877, 5.638, 5.932) | |
| Decimal | 5062722 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D4042, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #4D4042 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.13:1 | Fail | Fail | Fail |
| Sample text | 9.87:1 | Pass | Pass | Pass |
| #4D4042 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.87:1 | Pass | Pass | Pass |
| Sample text | 2.13:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #4D4042 looks to people with the most common types of color vision deficiency.
#424242Protanopia
no red cones#454442Deuteranopia
no green cones#503f41Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #4d4042; }
.text { color: #4d4042; }
.border { border: 2px solid #4d4042; }
.transparent { background-color: rgb(77 64 66 / 50%); }
.gradient { background: linear-gradient(to right, #4d4042, #4d4440); }
Similar colors
#483c41Pitch Black#463d3eBlack Truffle#554747Chinotto#41373aVoid Wellness Coach#443736Cowboy#4b373aVibrant Vine#574a47Molasses#4f4744Espresso Macchiato
Closest common color name: Taupe.
Questions
- What color is #4D4042?
- #4D4042 is a dark, grayish red, closest to the named color Pitch Black. It belongs to the gray family of colors.
- What is the RGB value of #4D4042?
- The RGB value is 77, 64, 66: 77 red, 64 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #4D4042?
- The complementary color is #404D4B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D4042?
- White text. Black text has a contrast ratio of 2.13:1 and white text 9.87:1. WCAG asks for at least 4.5:1 for normal text.