#4E5151 color
The hex color #4E5151 is a gray.
In the RGB color model it is made of 30.6% red, 31.8% green and 31.8% blue (78, 81, 81).
Its hue angle is 180°, with 2% saturation and 31% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 0% yellow and 68% black.
The closest named color is Cover of Night (#494E4F), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.02:1).
#4E5151 color codes
| HEX | #4E5151 | |
|---|---|---|
| RGB | rgb(78, 81, 81) | |
| RGB percent | rgb(30.6%, 31.8%, 31.8%) | |
| HSL | hsl(180, 2%, 31%) | |
| HSV / HSB | hsv(180, 4%, 32%) | |
| CMYK | cmyk(4%, 0%, 0%, 68%) | |
| CIE LAB | lab(34.19, -1.21, -0.42) | |
| CIE LCH | lch(34.19, 1.28, 199.22) | |
| CIE XYZ | xyz(7.569, 8.099, 8.947) | |
| Decimal | 5132625 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4E5151, 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 #4E5151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.02:1 | Pass | Pass | Pass |
| #4E5151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.02:1 | Pass | Pass | Pass |
| Sample text | 2.62: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 #4E5151 looks to people with the most common types of color vision deficiency.
#515151Protanopia
no red cones#505051Deuteranopia
no green cones#4d5151Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #4e5151; }
.text { color: #4e5151; }
.border { border: 2px solid #4e5151; }
.transparent { background-color: rgb(78 81 81 / 50%); }
.gradient { background: linear-gradient(to right, #4e5151, #4e5051); }
Similar colors
#494e4fCover of Night#555555Stone Cold#4c5356Trout#474c50Witchcraft#495252Dark as Night#4f4e4aSubterrain Kingdom#4c4b4cShady Character#444b4aMoonless Sky
Closest common color name: Charcoal.
Questions
- What color is #4E5151?
- #4E5151 is a gray, closest to the named color Cover of Night. It belongs to the gray family of colors.
- What is the RGB value of #4E5151?
- The RGB value is 78, 81, 81: 78 red, 81 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #4E5151?
- The complementary color is #514E4E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4E5151?
- White text. Black text has a contrast ratio of 2.62:1 and white text 8.02:1. WCAG asks for at least 4.5:1 for normal text.