#545256 color
The hex color #545256 is a gray.
In the RGB color model it is made of 32.9% red, 32.2% green and 33.7% blue (84, 82, 86).
Its hue angle is 270°, with 2% saturation and 33% lightness. For print, the CMYK equivalent is 2% cyan, 5% magenta, 0% yellow and 66% black.
The closest named color is Magnet (#525054), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.73:1).
#545256 color codes
| HEX | #545256 | |
|---|---|---|
| RGB | rgb(84, 82, 86) | |
| RGB percent | rgb(32.9%, 32.2%, 33.7%) | |
| HSL | hsl(270, 2%, 33%) | |
| HSV / HSB | hsv(270, 5%, 34%) | |
| CMYK | cmyk(2%, 5%, 0%, 66%) | |
| CIE LAB | lab(35.19, 1.67, -2.05) | |
| CIE LCH | lch(35.19, 2.64, 309.25) | |
| CIE XYZ | xyz(8.353, 8.591, 10.021) | |
| Decimal | 5526102 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #545256, 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 #545256 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.72:1 | Fail | Fail | Fail |
| Sample text | 7.73:1 | Pass | Pass | Pass |
| #545256 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.73:1 | Pass | Pass | Pass |
| Sample text | 2.72: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 #545256 looks to people with the most common types of color vision deficiency.
#515356Protanopia
no red cones#525356Deuteranopia
no green cones#545253Tritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #545256; }
.text { color: #545256; }
.border { border: 2px solid #545256; }
.transparent { background-color: rgb(84 82 86 / 50%); }
.gradient { background: linear-gradient(to right, #545256, #565256); }
Similar colors
#525054Magnet#555555Stone Cold#4c4b4cShady Character#524b4bMatterhorn#534c4bOff the Beaten Path#494d55Isolation#494c55Deep Night#565350Heavy Charcoal
Closest common color name: Dim Gray.
Questions
- What color is #545256?
- #545256 is a gray, closest to the named color Magnet. It belongs to the gray family of colors.
- What is the RGB value of #545256?
- The RGB value is 84, 82, 86: 84 red, 82 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #545256?
- The complementary color is #545652, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #545256?
- White text. Black text has a contrast ratio of 2.72:1 and white text 7.73:1. WCAG asks for at least 4.5:1 for normal text.