#505154 color
The hex color #505154 is a gray.
In the RGB color model it is made of 31.4% red, 31.8% green and 32.9% blue (80, 81, 84).
Its hue angle is 225°, with 2% saturation and 32% lightness. For print, the CMYK equivalent is 5% cyan, 4% magenta, 0% yellow and 67% black.
The closest named color is Magnet (#525054), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.94:1).
#505154 color codes
| HEX | #505154 | |
|---|---|---|
| RGB | rgb(80, 81, 84) | |
| RGB percent | rgb(31.4%, 31.8%, 32.9%) | |
| HSL | hsl(225, 2%, 32%) | |
| HSV / HSB | hsv(225, 5%, 33%) | |
| CMYK | cmyk(5%, 4%, 0%, 67%) | |
| CIE LAB | lab(34.46, 0.26, -1.9) | |
| CIE LCH | lch(34.46, 1.92, 277.75) | |
| CIE XYZ | xyz(7.851, 8.23, 9.561) | |
| Decimal | 5263700 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505154, 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 #505154 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.65:1 | Fail | Fail | Fail |
| Sample text | 7.94:1 | Pass | Pass | Pass |
| #505154 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.94:1 | Pass | Pass | Pass |
| Sample text | 2.65: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 #505154 looks to people with the most common types of color vision deficiency.
#505154Protanopia
no red cones#505154Deuteranopia
no green cones#4f5252Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #505154; }
.text { color: #505154; }
.border { border: 2px solid #505154; }
.transparent { background-color: rgb(80 81 84 / 50%); }
.gradient { background: linear-gradient(to right, #505154, #515054); }
Similar colors
#525054Magnet#555555Stone Cold#4c4b4cShady Character#474c50Witchcraft#474d52Sooty Lashes#46494eTuna#494d55Isolation#494e4fCover of Night
Closest common color name: Charcoal.
Questions
- What color is #505154?
- #505154 is a gray, closest to the named color Magnet. It belongs to the gray family of colors.
- What is the RGB value of #505154?
- The RGB value is 80, 81, 84: 80 red, 81 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #505154?
- The complementary color is #545350, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505154?
- White text. Black text has a contrast ratio of 2.65:1 and white text 7.94:1. WCAG asks for at least 4.5:1 for normal text.