#504948 color
The hex color #504948 is a dark gray.
In the RGB color model it is made of 31.4% red, 28.6% green and 28.2% blue (80, 73, 72).
Its hue angle is 7°, with 5% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 10% yellow and 69% black.
The closest named color is Matterhorn (#524B4B), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.8:1).
#504948 color codes
| HEX | #504948 | |
|---|---|---|
| RGB | rgb(80, 73, 72) | |
| RGB percent | rgb(31.4%, 28.6%, 28.2%) | |
| HSL | hsl(7, 5%, 30%) | |
| HSV / HSB | hsv(7, 10%, 31%) | |
| CMYK | cmyk(0%, 9%, 10%, 69%) | |
| CIE LAB | lab(31.67, 2.72, 1.66) | |
| CIE LCH | lch(31.67, 3.19, 31.31) | |
| CIE XYZ | xyz(6.86, 6.939, 7.108) | |
| Decimal | 5261640 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504948, 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 #504948 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.8:1 | Pass | Pass | Pass |
| #504948 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.8:1 | Pass | Pass | Pass |
| Sample text | 2.39: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 #504948 looks to people with the most common types of color vision deficiency.
#4a4a48Protanopia
no red cones#4c4b48Deuteranopia
no green cones#524849Tritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #504948; }
.text { color: #504948; }
.border { border: 2px solid #504948; }
.transparent { background-color: rgb(80 73 72 / 50%); }
.gradient { background: linear-gradient(to right, #504948, #504d48); }
Similar colors
#524b4bMatterhorn#534c4bOff the Beaten Path#4f4744Espresso Macchiato#4a4747Dampened Black#574a47Molasses#4c4b4cShady Character#554747Chinotto#463d3eBlack Truffle
Closest common color name: Taupe.
Questions
- What color is #504948?
- #504948 is a dark gray, closest to the named color Matterhorn. It belongs to the gray family of colors.
- What is the RGB value of #504948?
- The RGB value is 80, 73, 72: 80 red, 73 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #504948?
- The complementary color is #484F50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504948?
- White text. Black text has a contrast ratio of 2.39:1 and white text 8.8:1. WCAG asks for at least 4.5:1 for normal text.