#5B424F Color Information

Hex color code: #5B424F

#5B424F is a balanced magenta color. In RGB it is (91, 66, 79), and in HSL it is (329°, 16%, 31%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#5B424F
RGB
91, 66, 79
HSL
329°, 16%, 31%
CMYK
0%, 27%, 13%, 64%

Shades

CSS Usage
color: #5B424F;
background-color: #5B424F;
border-color: #5B424F;
box-shadow: 0 0 10px #5B424F;
border: 2px solid #5B424F;
Tailwind Usage
bg-[#5B424F]
text-[#5B424F]
border-[#5B424F]
shadow-[0_0_10px_5B424F]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5B424F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5B424F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5B424F; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #5B424F; background-color: #5B424F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5B424F20; border-left: 4px solid #5B424F; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #5B424F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5B424F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 66, 79

Red: 91 / Green: 66 / Blue: 79

HSL

329°, 16%, 31%

Hue: 329° / Saturation: 16% / Lightness: 31%

CMYK

0%, 27%, 13%, 64%

Cyan: 0% / Magenta: 27% / Yellow: 13% / Key: 64%

What color is #5B424F?

#5B424F is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B424F to RGB:

rgb(91, 66, 79)HEX to RGB Converter →

HEX to HSL

Convert #5B424F to HSL:

hsl(329, 16%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #5B424F to CMYK:

cmyk(0%, 27%, 13%, 64%)Color Converter →

Color Meaning and Usage

#5B424F is a subtle magenta color with RGB values of 91, 66, 79 and HSL of 329°, 16%, 31%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B424F is #425C4F, creating high-contrast pairings. For softer combinations, try analogous colors like #5B425C.

Use #5B424F in CSS: color: #5B424F or background-color: #5B424F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #5B424F

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 2.34:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5B424F?

#5B424F is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #5B424F?

#5B424F in RGB is (91, 66, 79) - 91 red, 66 green, and 79 blue.

How to use #5B424F in CSS?

Use #5B424F directly in your CSS properties like color or background-color.

What colors go well with #5B424F?

#425C4F (complementary), #5B425C (analogous), and #2F2229 (lighter shade) work well with #5B424F.