#504748 color
The hex color #504748 is a dark gray.
In the RGB color model it is made of 31.4% red, 27.8% green and 28.2% blue (80, 71, 72).
Its hue angle is 353°, with 6% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 10% yellow and 69% black.
The closest named color is Matterhorn (#524B4B), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.99:1).
#504748 color codes
| HEX | #504748 | |
|---|---|---|
| RGB | rgb(80, 71, 72) | |
| RGB percent | rgb(31.4%, 27.8%, 28.2%) | |
| HSL | hsl(353, 6%, 30%) | |
| HSV / HSB | hsv(353, 11%, 31%) | |
| CMYK | cmyk(0%, 11%, 10%, 69%) | |
| CIE LAB | lab(31.07, 3.99, 0.78) | |
| CIE LCH | lch(31.07, 4.07, 11.12) | |
| CIE XYZ | xyz(6.731, 6.68, 7.064) | |
| Decimal | 5261128 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504748, 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 #504748 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.99:1 | Pass | Pass | Pass |
| #504748 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.99:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #504748 looks to people with the most common types of color vision deficiency.
#484848Protanopia
no red cones#4a4a48Deuteranopia
no green cones#524647Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #504748; }
.text { color: #504748; }
.border { border: 2px solid #504748; }
.transparent { background-color: rgb(80 71 72 / 50%); }
.gradient { background: linear-gradient(to right, #504748, #504b47); }
Similar colors
#524b4bMatterhorn#534c4bOff the Beaten Path#554747Chinotto#4f4744Espresso Macchiato#574a47Molasses#463d3eBlack Truffle#4a4747Dampened Black#483c41Pitch Black
Closest common color name: Taupe.
Questions
- What color is #504748?
- #504748 is a dark gray, closest to the named color Matterhorn. It belongs to the gray family of colors.
- What is the RGB value of #504748?
- The RGB value is 80, 71, 72: 80 red, 71 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #504748?
- The complementary color is #47504F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504748?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.99:1. WCAG asks for at least 4.5:1 for normal text.