#51525F color

#51525F rgb(81, 82, 95)
Shades of gray

The hex color #51525F is a gray.

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

Its hue angle is 236°, with 8% saturation and 35% lightness. For print, the CMYK equivalent is 15% cyan, 14% magenta, 0% yellow and 63% black.

The closest named color is Black Orchid (#525463), a difference of 1.2 ΔE, which is barely visible.

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

#51525F color codes

HEX#51525F
RGBrgb(81, 82, 95)
RGB percentrgb(31.8%, 32.2%, 37.3%)
HSLhsl(236, 8%, 35%)
HSV / HSBhsv(236, 15%, 37%)
CMYKcmyk(15%, 14%, 0%, 63%)
CIE LABlab(35.22, 2.6, -7.68)
CIE LCHlch(35.22, 8.11, 288.68)
CIE XYZxyz(8.476, 8.61, 12.04)
Decimal5329503
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #51525F, 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 #51525FRatioAAAAAAA large
Sample text2.72:1FailFailFail
Sample text7.71:1PassPassPass
#51525F as text onRatioAAAAAAA large
Sample text7.71:1PassPassPass
Sample text2.72: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 #51525F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #51525f; }
.text { color: #51525f; }
.border { border: 2px solid #51525f; }
.transparent { background-color: rgb(81 82 95 / 50%); }
.gradient { background: linear-gradient(to right, #51525f, #57515f); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #51525F?
#51525F is a gray, closest to the named color Black Orchid. It belongs to the gray family of colors.
What is the RGB value of #51525F?
The RGB value is 81, 82, 95: 81 red, 82 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #51525F?
The complementary color is #5F5E51, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51525F?
White text. Black text has a contrast ratio of 2.72:1 and white text 7.71:1. WCAG asks for at least 4.5:1 for normal text.