#505C51 color

#505C51 rgb(80, 92, 81)
Shades of gray

The hex color #505C51 is a gray.

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

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

The closest named color is Ebony (#555D50), a difference of 2 ΔE, a small difference.

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

#505C51 color codes

HEX#505C51
RGBrgb(80, 92, 81)
RGB percentrgb(31.4%, 36.1%, 31.8%)
HSLhsl(125, 7%, 34%)
HSV / HSBhsv(125, 13%, 36%)
CMYKcmyk(13%, 0%, 12%, 64%)
CIE LABlab(37.76, -7.08, 4.77)
CIE LCHlch(37.76, 8.53, 146.03)
CIE XYZxyz(8.62, 9.954, 9.25)
Decimal5266513
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #505C51, 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 #505C51RatioAAAAAAA large
Sample text2.99:1FailFailFail
Sample text7.02:1PassPassPass
#505C51 as text onRatioAAAAAAA large
Sample text7.02:1PassPassPass
Sample text2.99: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 #505C51 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #505c51; }
.text { color: #505c51; }
.border { border: 2px solid #505c51; }
.transparent { background-color: rgb(80 92 81 / 50%); }
.gradient { background: linear-gradient(to right, #505c51, #505c57); }
Background
Text color
Border

Similar colors

Questions

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