#42293D Color Information

Hex color code: #42293D

#42293D is a intense magenta color. In RGB it is (66, 41, 61), and in HSL it is (312°, 23%, 21%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#42293D
RGB
66, 41, 61
HSL
312°, 23%, 21%
CMYK
0%, 38%, 8%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #42293D; 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 #42293D; background-color: #42293D15; }

Alert / Toast

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

Link / Accent

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

a { color: #42293D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42293D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 41, 61

Red: 66 / Green: 41 / Blue: 61

HSL

312°, 23%, 21%

Hue: 312° / Saturation: 23% / Lightness: 21%

CMYK

0%, 38%, 8%, 74%

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

What color is #42293D?

#42293D is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42293D to RGB:

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

HEX to HSL

Convert #42293D to HSL:

hsl(312, 23%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #42293D to CMYK:

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

Color Meaning and Usage

A dramatic magenta tone, #42293D has RGB (66, 41, 61) and HSL (312°, 23%, 21%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42293D is #29422E, creating high-contrast pairings. For softer combinations, try analogous colors like #3A2942.

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

Contrast with #42293D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42293D?

#42293D is a dramatic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #42293D?

#42293D in RGB is (66, 41, 61) - 66 red, 41 green, and 61 blue.

How to use #42293D in CSS?

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

What colors go well with #42293D?

#29422E (complementary), #3A2942 (analogous), and #130C11 (lighter shade) work well with #42293D.