#545252 color
The hex color #545252 is a gray.
In the RGB color model it is made of 32.9% red, 32.2% green and 32.2% blue (84, 82, 82).
Its hue angle is 0°, with 1% saturation and 33% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 2% yellow and 67% black.
The closest named color is Stone Cold (#555555), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.76:1).
#545252 color codes
| HEX | #545252 | |
|---|---|---|
| RGB | rgb(84, 82, 82) | |
| RGB percent | rgb(32.9%, 32.2%, 32.2%) | |
| HSL | hsl(0, 1%, 33%) | |
| HSV / HSB | hsv(0, 2%, 33%) | |
| CMYK | cmyk(0%, 2%, 2%, 67%) | |
| CIE LAB | lab(35.06, 0.81, 0.29) | |
| CIE LCH | lch(35.06, 0.86, 19.54) | |
| CIE XYZ | xyz(8.196, 8.529, 9.195) | |
| Decimal | 5526098 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #545252, 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 #545252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.71:1 | Fail | Fail | Fail |
| Sample text | 7.76:1 | Pass | Pass | Pass |
| #545252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.76:1 | Pass | Pass | Pass |
| Sample text | 2.71: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 #545252 looks to people with the most common types of color vision deficiency.
#525252Protanopia
no red cones#535352Deuteranopia
no green cones#555252Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #545252; }
.text { color: #545252; }
.border { border: 2px solid #545252; }
.transparent { background-color: rgb(84 82 82 / 50%); }
.gradient { background: linear-gradient(to right, #545252, #545352); }
Similar colors
#555555Stone Cold#565350Heavy Charcoal#525054Magnet#4c4b4cShady Character#4f4e4aSubterrain Kingdom#534c4bOff the Beaten Path#5e5755Smokescreen#524b4bMatterhorn
Closest common color name: Dim Gray.
Questions
- What color is #545252?
- #545252 is a gray, closest to the named color Stone Cold. It belongs to the gray family of colors.
- What is the RGB value of #545252?
- The RGB value is 84, 82, 82: 84 red, 82 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #545252?
- The complementary color is #525454, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #545252?
- White text. Black text has a contrast ratio of 2.71:1 and white text 7.76:1. WCAG asks for at least 4.5:1 for normal text.