#514750 color
The hex color #514750 is a dark gray.
In the RGB color model it is made of 31.8% red, 27.8% green and 31.4% blue (81, 71, 80).
Its hue angle is 306°, with 7% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 1% yellow and 68% black.
The closest named color is Black Magic (#4F4554), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.87:1).
#514750 color codes
| HEX | #514750 | |
|---|---|---|
| RGB | rgb(81, 71, 80) | |
| RGB percent | rgb(31.8%, 27.8%, 31.4%) | |
| HSL | hsl(306, 7%, 30%) | |
| HSV / HSB | hsv(306, 12%, 32%) | |
| CMYK | cmyk(0%, 12%, 1%, 68%) | |
| CIE LAB | lab(31.43, 6.09, -3.82) | |
| CIE LCH | lch(31.43, 7.18, 327.92) | |
| CIE XYZ | xyz(7.094, 6.835, 8.533) | |
| Decimal | 5326672 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514750, 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 #514750 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.37:1 | Fail | Fail | Fail |
| Sample text | 8.87:1 | Pass | Pass | Pass |
| #514750 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.87:1 | Pass | Pass | Pass |
| Sample text | 2.37:1 | Fail | Fail | Fail |
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 #514750 looks to people with the most common types of color vision deficiency.
#474950Protanopia
no red cones#494a50Deuteranopia
no green cones#52484aTritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #514750; }
.text { color: #514750; }
.border { border: 2px solid #514750; }
.transparent { background-color: rgb(81 71 80 / 50%); }
.gradient { background: linear-gradient(to right, #514750, #51474b); }
Similar colors
#4f4554Black Magic#483c41Pitch Black#605258Pinot Noir#484753Gun Powder#554747Chinotto#413d4bItalian Grape#524b4bMatterhorn#3f3c43Tuxedo
Closest common color name: Eggplant.
Questions
- What color is #514750?
- #514750 is a dark gray, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #514750?
- The RGB value is 81, 71, 80: 81 red, 71 green and 80 blue on a 0 to 255 scale.
- What is the complementary color of #514750?
- The complementary color is #475148, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514750?
- White text. Black text has a contrast ratio of 2.37:1 and white text 8.87:1. WCAG asks for at least 4.5:1 for normal text.