#40382B Color Information

Hex color code: #40382B

A deep orange shade, #40382B appears as (64, 56, 43) in RGB and (37°, 20%, 21%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#40382B
RGB
64, 56, 43
HSL
37°, 20%, 21%
CMYK
0%, 13%, 33%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #40382B; 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 #40382B; background-color: #40382B15; }

Alert / Toast

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

Link / Accent

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

a { color: #40382B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40382B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 56, 43

Red: 64 / Green: 56 / Blue: 43

HSL

37°, 20%, 21%

Hue: 37° / Saturation: 20% / Lightness: 21%

CMYK

0%, 13%, 33%, 75%

Cyan: 0% / Magenta: 13% / Yellow: 33% / Key: 75%

What color is #40382B?

#40382B is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40382B to RGB:

rgb(64, 56, 43)HEX to RGB Converter →

HEX to HSL

Convert #40382B to HSL:

hsl(37, 20%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #40382B to CMYK:

cmyk(0%, 13%, 33%, 75%)Color Converter →

Color Meaning and Usage

#40382B is a dramatic orange color with RGB values of 64, 56, 43 and HSL of 37°, 20%, 21%. This orange-yellow hue evokes optimism and creativity, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40382B is #2B3340, creating high-contrast pairings. For softer combinations, try analogous colors like #402D2B.

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

Contrast with #40382B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40382B?

#40382B is a dramatic orange color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #40382B?

#40382B in RGB is (64, 56, 43) - 64 red, 56 green, and 43 blue.

How to use #40382B in CSS?

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

What colors go well with #40382B?

#2B3340 (complementary), #402D2B (analogous), and #12100C (lighter shade) work well with #40382B.