#50515A color
The hex color #50515A is a gray.
In the RGB color model it is made of 31.4% red, 31.8% green and 35.3% blue (80, 81, 90).
Its hue angle is 234°, with 6% saturation and 33% lightness. For print, the CMYK equivalent is 11% cyan, 10% magenta, 0% yellow and 65% black.
The closest named color is Deep Night (#494C55), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.88:1).
#50515A color codes
| HEX | #50515A | |
|---|---|---|
| RGB | rgb(80, 81, 90) | |
| RGB percent | rgb(31.4%, 31.8%, 35.3%) | |
| HSL | hsl(234, 6%, 33%) | |
| HSV / HSB | hsv(234, 11%, 35%) | |
| CMYK | cmyk(11%, 10%, 0%, 65%) | |
| CIE LAB | lab(34.66, 1.64, -5.39) | |
| CIE LCH | lch(34.66, 5.63, 286.94) | |
| CIE XYZ | xyz(8.096, 8.328, 10.852) | |
| Decimal | 5263706 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #50515A, 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 #50515A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.88:1 | Pass | Pass | Pass |
| #50515A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.88:1 | Pass | Pass | Pass |
| Sample text | 2.67: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 #50515A looks to people with the most common types of color vision deficiency.
#4f525aProtanopia
no red cones#4e515aDeuteranopia
no green cones#4e5254Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #50515a; }
.text { color: #50515a; }
.border { border: 2px solid #50515a; }
.transparent { background-color: rgb(80 81 90 / 50%); }
.gradient { background: linear-gradient(to right, #50515a, #54505a); }
Similar colors
#494c55Deep Night#494d55Isolation#545663Blackwater#525054Magnet#525463Black Orchid#484753Gun Powder#46494eTuna#424753Midnight Sky
Closest common color name: Charcoal.
Questions
- What color is #50515A?
- #50515A is a gray, closest to the named color Deep Night. It belongs to the gray family of colors.
- What is the RGB value of #50515A?
- The RGB value is 80, 81, 90: 80 red, 81 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #50515A?
- The complementary color is #5A5950, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #50515A?
- White text. Black text has a contrast ratio of 2.67:1 and white text 7.88:1. WCAG asks for at least 4.5:1 for normal text.