#525158 color

#525158 rgb(82, 81, 88)
Shades of gray

The hex color #525158 is a gray.

In the RGB color model it is made of 32.2% red, 31.8% green and 34.5% blue (82, 81, 88).

Its hue angle is 249°, with 4% saturation and 33% lightness. For print, the CMYK equivalent is 7% cyan, 8% magenta, 0% yellow and 65% black.

The closest named color is Magnet (#525054), a difference of 1.7 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 7.85:1).

#525158 color codes

HEX#525158
RGBrgb(82, 81, 88)
RGB percentrgb(32.2%, 31.8%, 34.5%)
HSLhsl(249, 4%, 33%)
HSV / HSBhsv(249, 8%, 35%)
CMYKcmyk(7%, 8%, 0%, 65%)
CIE LABlab(34.77, 1.95, -3.94)
CIE LCHlch(34.77, 4.4, 296.35)
CIE XYZxyz(8.183, 8.383, 10.418)
Decimal5394776
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #525158, 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 #525158RatioAAAAAAA large
Sample text2.68:1FailFailFail
Sample text7.85:1PassPassPass
#525158 as text onRatioAAAAAAA large
Sample text7.85:1PassPassPass
Sample text2.68:1FailFailFail

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 #525158 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #525158; }
.text { color: #525158; }
.border { border: 2px solid #525158; }
.transparent { background-color: rgb(82 81 88 / 50%); }
.gradient { background: linear-gradient(to right, #525158, #565158); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #525158?
#525158 is a gray, closest to the named color Magnet. It belongs to the gray family of colors.
What is the RGB value of #525158?
The RGB value is 82, 81, 88: 82 red, 81 green and 88 blue on a 0 to 255 scale.
What is the complementary color of #525158?
The complementary color is #575851, found by rotating the hue 180° on the color wheel.
Is black or white text better on #525158?
White text. Black text has a contrast ratio of 2.68:1 and white text 7.85:1. WCAG asks for at least 4.5:1 for normal text.