#51524B color

#51524B rgb(81, 82, 75)
Shades of gray

The hex color #51524B is a gray.

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

Its hue angle is 69°, with 4% saturation and 31% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 9% yellow and 68% black.

The closest named color is Subterrain Kingdom (#4F4E4A), a difference of 2.6 ΔE, a small difference.

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

#51524B color codes

HEX#51524B
RGBrgb(81, 82, 75)
RGB percentrgb(31.8%, 32.2%, 29.4%)
HSLhsl(69, 4%, 31%)
HSV / HSBhsv(69, 9%, 32%)
CMYKcmyk(1%, 0%, 9%, 68%)
CIE LABlab(34.58, -1.87, 3.97)
CIE LCHlch(34.58, 4.39, 115.2)
CIE XYZxyz(7.68, 8.292, 7.851)
Decimal5329483
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #51524b; }
.text { color: #51524b; }
.border { border: 2px solid #51524b; }
.transparent { background-color: rgb(81 82 75 / 50%); }
.gradient { background: linear-gradient(to right, #51524b, #4e524b); }
Background
Text color
Border

Similar colors

Closest common color name: Ebony.

Questions

What color is #51524B?
#51524B is a gray, closest to the named color Subterrain Kingdom. It belongs to the gray family of colors.
What is the RGB value of #51524B?
The RGB value is 81, 82, 75: 81 red, 82 green and 75 blue on a 0 to 255 scale.
What is the complementary color of #51524B?
The complementary color is #4C4B52, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51524B?
White text. Black text has a contrast ratio of 2.66:1 and white text 7.9:1. WCAG asks for at least 4.5:1 for normal text.