#5C5161 color
The hex color #5C5161 is a dark, grayish magenta.
In the RGB color model it is made of 36.1% red, 31.8% green and 38% blue (92, 81, 97).
Its hue angle is 281°, with 9% saturation and 35% lightness. For print, the CMYK equivalent is 5% cyan, 16% magenta, 0% yellow and 62% black.
The closest named color is Fedora (#625665), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.49:1).
#5C5161 color codes
| HEX | #5C5161 | |
|---|---|---|
| RGB | rgb(92, 81, 97) | |
| RGB percent | rgb(36.1%, 31.8%, 38%) | |
| HSL | hsl(281, 9%, 35%) | |
| HSV / HSB | hsv(281, 16%, 38%) | |
| CMYK | cmyk(5%, 16%, 0%, 62%) | |
| CIE LAB | lab(36.03, 7.89, -7.62) | |
| CIE LCH | lch(36.03, 10.97, 315.98) | |
| CIE XYZ | xyz(9.513, 9.023, 12.547) | |
| Decimal | 6050145 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C5161, 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 #5C5161 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.49:1 | Pass | Pass | Pass |
| #5C5161 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.49:1 | Pass | Pass | Pass |
| Sample text | 2.8: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 #5C5161 looks to people with the most common types of color vision deficiency.
#4f5462Protanopia
no red cones#515560Deuteranopia
no green cones#5c5356Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #5c5161; }
.text { color: #5c5161; }
.border { border: 2px solid #5c5161; }
.transparent { background-color: rgb(92 81 97 / 50%); }
.gradient { background: linear-gradient(to right, #5c5161, #61515e); }
Similar colors
#625665Fedora#565266Freefall#4f4554Black Magic#605258Pinot Noir#605d6bSmoky#675a75Plummy#555570Majestic Magic#525463Black Orchid
Closest common color name: Eggplant.
Questions
- What color is #5C5161?
- #5C5161 is a dark, grayish magenta, closest to the named color Fedora. It belongs to the gray family of colors.
- What is the RGB value of #5C5161?
- The RGB value is 92, 81, 97: 92 red, 81 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #5C5161?
- The complementary color is #566151, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C5161?
- White text. Black text has a contrast ratio of 2.8:1 and white text 7.49:1. WCAG asks for at least 4.5:1 for normal text.