#5B404C color

#5B404C rgb(91, 64, 76)
Shades of red

The hex color #5B404C is a dark, grayish rose.

In the RGB color model it is made of 35.7% red, 25.1% green and 29.8% blue (91, 64, 76).

Its hue angle is 333°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 30% magenta, 16% yellow and 64% black.

The closest named color is Eggplant (#614051), a difference of 2.7 ΔE, a small difference.

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

#5B404C color codes

HEX#5B404C
RGBrgb(91, 64, 76)
RGB percentrgb(35.7%, 25.1%, 29.8%)
HSLhsl(333, 17%, 30%)
HSV / HSBhsv(333, 30%, 36%)
CMYKcmyk(0%, 30%, 16%, 64%)
CIE LABlab(30.43, 13.87, -2.59)
CIE LCHlch(30.43, 14.11, 349.44)
CIE XYZxyz(7.452, 6.413, 7.681)
Decimal5980236
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5B404C, 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 #5B404CRatioAAAAAAA large
Sample text2.28:1FailFailFail
Sample text9.2:1PassPassPass
#5B404C as text onRatioAAAAAAA large
Sample text9.2:1PassPassPass
Sample text2.28: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 #5B404C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b404c; }
.text { color: #5b404c; }
.border { border: 2px solid #5b404c; }
.transparent { background-color: rgb(91 64 76 / 50%); }
.gradient { background: linear-gradient(to right, #5b404c, #5b4240); }
Background
Text color
Border

Similar colors

Questions

What color is #5B404C?
#5B404C is a dark, grayish rose, closest to the named color Eggplant. It belongs to the red family of colors.
What is the RGB value of #5B404C?
The RGB value is 91, 64, 76: 91 red, 64 green and 76 blue on a 0 to 255 scale.
What is the complementary color of #5B404C?
The complementary color is #405B4F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B404C?
White text. Black text has a contrast ratio of 2.28:1 and white text 9.2:1. WCAG asks for at least 4.5:1 for normal text.