#40302B Color Information

Hex color code: #40302B

A intense red shade, #40302B appears as (64, 48, 43) in RGB and (14°, 20%, 21%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#40302B
RGB
64, 48, 43
HSL
14°, 20%, 21%
CMYK
0%, 25%, 33%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40302B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 48, 43

Red: 64 / Green: 48 / Blue: 43

HSL

14°, 20%, 21%

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

CMYK

0%, 25%, 33%, 75%

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

What color is #40302B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40302B to RGB:

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

HEX to HSL

Convert #40302B to HSL:

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

HEX to CMYK

Convert #40302B to CMYK:

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

Color Meaning and Usage

#40302B is a deep red color with RGB values of 64, 48, 43 and HSL of 14°, 20%, 21%. This red-orange hue evokes warmth and passion, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40302B is #2B3B40, creating high-contrast pairings. For softer combinations, try analogous colors like #402B31.

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

Contrast with #40302B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40302B?

#40302B is a deep red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #40302B?

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

How to use #40302B in CSS?

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

What colors go well with #40302B?

#2B3B40 (complementary), #402B31 (analogous), and #120E0C (lighter shade) work well with #40302B.