#515D51 color
The hex color #515D51 is a gray.
In the RGB color model it is made of 31.8% red, 36.5% green and 31.8% blue (81, 93, 81).
Its hue angle is 120°, with 7% saturation and 34% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 13% yellow and 64% black.
The closest named color is Ebony (#555D50), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.92:1).
#515D51 color codes
| HEX | #515D51 | |
|---|---|---|
| RGB | rgb(81, 93, 81) | |
| RGB percent | rgb(31.8%, 36.5%, 31.8%) | |
| HSL | hsl(120, 7%, 34%) | |
| HSV / HSB | hsv(120, 13%, 36%) | |
| CMYK | cmyk(13%, 0%, 13%, 64%) | |
| CIE LAB | lab(38.15, -7.27, 5.34) | |
| CIE LCH | lch(38.15, 9.02, 143.72) | |
| CIE XYZ | xyz(8.793, 10.172, 9.283) | |
| Decimal | 5332305 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515D51, 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 #515D51 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.03:1 | Fail | Fail | Pass |
| Sample text | 6.92:1 | Pass | Fail | Pass |
| #515D51 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.92:1 | Pass | Fail | Pass |
| Sample text | 3.03:1 | Fail | Fail | Pass |
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 #515D51 looks to people with the most common types of color vision deficiency.
#5e5b50Protanopia
no red cones#5b5952Deuteranopia
no green cones#505c5aTritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #515d51; }
.text { color: #515d51; }
.border { border: 2px solid #515d51; }
.transparent { background-color: rgb(81 93 81 / 50%); }
.gradient { background: linear-gradient(to right, #515d51, #515d57); }
Similar colors
#555d50Ebony#4e5a4aVerdant Hush#5e6354Black Forest#5f6957Italian Basil#4b5d46Muddy Olive#556962Dark Forest#3e594cPlantation#595d45Tree of Life
Questions
- What color is #515D51?
- #515D51 is a gray, closest to the named color Ebony. It belongs to the gray family of colors.
- What is the RGB value of #515D51?
- The RGB value is 81, 93, 81: 81 red, 93 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #515D51?
- The complementary color is #5D515D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515D51?
- White text. Black text has a contrast ratio of 3.03:1 and white text 6.92:1. WCAG asks for at least 4.5:1 for normal text.