#42243A Color Information

Hex color code: #42243A

The hex color #42243A is a rich magenta with RGB values of (66, 36, 58) and HSL of (316°, 29%, 20%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#42243A
RGB
66, 36, 58
HSL
316°, 29%, 20%
CMYK
0%, 45%, 12%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #42243A; 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 #42243A; background-color: #42243A15; }

Alert / Toast

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

Link / Accent

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

a { color: #42243A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42243A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 36, 58

Red: 66 / Green: 36 / Blue: 58

HSL

316°, 29%, 20%

Hue: 316° / Saturation: 29% / Lightness: 20%

CMYK

0%, 45%, 12%, 74%

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

What color is #42243A?

#42243A is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42243A to RGB:

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

HEX to HSL

Convert #42243A to HSL:

hsl(316, 29%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #42243A to CMYK:

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

Color Meaning and Usage

A deep magenta tone, #42243A has RGB (66, 36, 58) and HSL (316°, 29%, 20%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42243A is #24422C, creating high-contrast pairings. For softer combinations, try analogous colors like #3B2442.

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

Contrast with #42243A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42243A?

#42243A is a deep magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #42243A?

#42243A in RGB is (66, 36, 58) - 66 red, 36 green, and 58 blue.

How to use #42243A in CSS?

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

What colors go well with #42243A?

#24422C (complementary), #3B2442 (analogous), and #10090E (lighter shade) work well with #42243A.