#51575E color

#51575E rgb(81, 87, 94)
Shades of gray

The hex color #51575E is a gray.

In the RGB color model it is made of 31.8% red, 34.1% green and 36.9% blue (81, 87, 94).

Its hue angle is 212°, with 7% saturation and 34% lightness. For print, the CMYK equivalent is 14% cyan, 7% magenta, 0% yellow and 63% black.

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

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

#51575E color codes

HEX#51575E
RGBrgb(81, 87, 94)
RGB percentrgb(31.8%, 34.1%, 36.9%)
HSLhsl(212, 7%, 34%)
HSV / HSBhsv(212, 14%, 37%)
CMYKcmyk(14%, 7%, 0%, 63%)
CIE LABlab(36.69, -0.75, -4.86)
CIE LCHlch(36.69, 4.91, 261.22)
CIE XYZxyz(8.821, 9.374, 11.932)
Decimal5330782
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #51575e; }
.text { color: #51575e; }
.border { border: 2px solid #51575e; }
.transparent { background-color: rgb(81 87 94 / 50%); }
.gradient { background: linear-gradient(to right, #51575e, #51515e); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

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