#525951 color

#525951 rgb(82, 89, 81)
Shades of gray

The hex color #525951 is a gray.

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

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

The closest named color is Ebony (#555D50), a difference of 2.8 ΔE, a small difference.

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

#525951 color codes

HEX#525951
RGBrgb(82, 89, 81)
RGB percentrgb(32.2%, 34.9%, 31.8%)
HSLhsl(112, 5%, 33%)
HSV / HSBhsv(112, 9%, 35%)
CMYKcmyk(8%, 0%, 9%, 65%)
CIE LABlab(36.99, -4.49, 3.69)
CIE LCHlch(36.99, 5.81, 140.6)
CIE XYZxyz(8.537, 9.533, 9.173)
Decimal5396817
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #525951, 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 #525951RatioAAAAAAA large
Sample text2.91:1FailFailFail
Sample text7.23:1PassPassPass
#525951 as text onRatioAAAAAAA large
Sample text7.23:1PassPassPass
Sample text2.91: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 #525951 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

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