#51565C color

#51565C rgb(81, 86, 92)
Shades of gray

The hex color #51565C is a gray.

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

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

The closest named color is Trout (#4C5356), a difference of 2.7 ΔE, a small difference.

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

#51565C color codes

HEX#51565C
RGBrgb(81, 86, 92)
RGB percentrgb(31.8%, 33.7%, 36.1%)
HSLhsl(213, 6%, 34%)
HSV / HSBhsv(213, 12%, 36%)
CMYKcmyk(12%, 7%, 0%, 64%)
CIE LABlab(36.32, -0.61, -4.16)
CIE LCHlch(36.32, 4.2, 261.67)
CIE XYZxyz(8.652, 9.178, 11.439)
Decimal5330524
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Charcoal.

Questions

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