#51585C color

#51585C rgb(81, 88, 92)
Shades of gray

The hex color #51585C is a gray.

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

Its hue angle is 202°, with 6% saturation and 34% lightness. For print, the CMYK equivalent is 12% cyan, 4% magenta, 0% yellow and 64% black.

The closest named color is Trout (#4C5356), a difference of 1.9 ΔE, which is barely visible.

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

#51585C color codes

HEX#51585C
RGBrgb(81, 88, 92)
RGB percentrgb(31.8%, 34.5%, 36.1%)
HSLhsl(202, 6%, 34%)
HSV / HSBhsv(202, 12%, 36%)
CMYKcmyk(12%, 4%, 0%, 64%)
CIE LABlab(36.93, -1.84, -3.26)
CIE LCHlch(36.93, 3.74, 240.57)
CIE XYZxyz(8.814, 9.501, 11.493)
Decimal5331036
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dim Gray.

Questions

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