#662438 Color Information

Hex color code: #662438

The hex color #662438 is a gentle magenta with RGB values of (102, 36, 56) and HSL of (342°, 48%, 27%). It is frequently seen in web interfaces.

Try:
Color NameSaddle Brown
HEX
#662438
RGB
102, 36, 56
HSL
342°, 48%, 27%
CMYK
0%, 65%, 45%, 60%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #662438; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

102, 36, 56

Red: 102 / Green: 36 / Blue: 56

HSL

342°, 48%, 27%

Hue: 342° / Saturation: 48% / Lightness: 27%

CMYK

0%, 65%, 45%, 60%

Cyan: 0% / Magenta: 65% / Yellow: 45% / Key: 60%

What color is #662438?

#662438 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #662438 to RGB:

rgb(102, 36, 56)HEX to RGB Converter →

HEX to HSL

Convert #662438 to HSL:

hsl(342, 48%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #662438 to CMYK:

cmyk(0%, 65%, 45%, 60%)Color Converter →

Color Meaning and Usage

#662438 is a gentle magenta color with RGB values of 102, 36, 56 and HSL of 342°, 48%, 27%. This red-orange hue evokes warmth and passion, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

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

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

Contrast with #662438

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #662438?

#662438 is a gentle magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #662438?

#662438 in RGB is (102, 36, 56) - 102 red, 36 green, and 56 blue.

How to use #662438 in CSS?

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

What colors go well with #662438?

#246652 (complementary), #662459 (analogous), and #2D1019 (lighter shade) work well with #662438.