#51474C color

#51474C rgb(81, 71, 76)
Shades of gray

The hex color #51474C is a dark gray.

In the RGB color model it is made of 31.8% red, 27.8% green and 29.8% blue (81, 71, 76).

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

The closest named color is Chinotto (#554747), a difference of 3.2 ΔE, a small difference.

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

#51474C color codes

HEX#51474C
RGBrgb(81, 71, 76)
RGB percentrgb(31.8%, 27.8%, 29.8%)
HSLhsl(330, 7%, 30%)
HSV / HSBhsv(330, 12%, 32%)
CMYKcmyk(0%, 12%, 6%, 68%)
CIE LABlab(31.3, 5.23, -1.44)
CIE LCHlch(31.3, 5.43, 344.6)
CIE XYZxyz(6.951, 6.778, 7.778)
Decimal5326668
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #51474c; }
.text { color: #51474c; }
.border { border: 2px solid #51474c; }
.transparent { background-color: rgb(81 71 76 / 50%); }
.gradient { background: linear-gradient(to right, #51474c, #514747); }
Background
Text color
Border

Similar colors

Closest common color name: Graphite.

Questions

What color is #51474C?
#51474C is a dark gray, closest to the named color Chinotto. It belongs to the gray family of colors.
What is the RGB value of #51474C?
The RGB value is 81, 71, 76: 81 red, 71 green and 76 blue on a 0 to 255 scale.
What is the complementary color of #51474C?
The complementary color is #47514C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51474C?
White text. Black text has a contrast ratio of 2.36:1 and white text 8.92:1. WCAG asks for at least 4.5:1 for normal text.