#424242 Color Information

Hex color code: #424242

The hex color #424242 is a muted red with RGB values of (66, 66, 66) and HSL of (0°, 0%, 26%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#424242
RGB
66, 66, 66
HSL
0°, 0%, 26%
CMYK
0%, 0%, 0%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #424242; 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 #424242; background-color: #42424215; }

Alert / Toast

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

Link / Accent

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

a { color: #424242; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #424242 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 66, 66

Red: 66 / Green: 66 / Blue: 66

HSL

0°, 0%, 26%

Hue: 0° / Saturation: 0% / Lightness: 26%

CMYK

0%, 0%, 0%, 74%

Cyan: 0% / Magenta: 0% / Yellow: 0% / Key: 74%

What color is #424242?

#424242 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #424242 to RGB:

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

HEX to HSL

Convert #424242 to HSL:

hsl(0, 0%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #424242 to CMYK:

cmyk(0%, 0%, 0%, 74%)Color Converter →

Color Meaning and Usage

A neutral red tone, #424242 has RGB (66, 66, 66) and HSL (0°, 0%, 26%). Known for evoking balance and subtlety, this desaturated neutral is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #424242 is #424242, creating high-contrast pairings. For softer combinations, try analogous colors like #424242.

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

Contrast with #424242

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #424242?

#424242 is a neutral red color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #424242?

#424242 in RGB is (66, 66, 66) - 66 red, 66 green, and 66 blue.

How to use #424242 in CSS?

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

What colors go well with #424242?

#424242 (complementary), #424242 (analogous), and #1C1C1C (lighter shade) work well with #424242.