#40252A Color Information

Hex color code: #40252A

The hex color #40252A is a dark red with RGB values of (64, 37, 42) and HSL of (349°, 27%, 20%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#40252A
RGB
64, 37, 42
HSL
349°, 27%, 20%
CMYK
0%, 42%, 34%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40252A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 37, 42

Red: 64 / Green: 37 / Blue: 42

HSL

349°, 27%, 20%

Hue: 349° / Saturation: 27% / Lightness: 20%

CMYK

0%, 42%, 34%, 75%

Cyan: 0% / Magenta: 42% / Yellow: 34% / Key: 75%

What color is #40252A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40252A to RGB:

rgb(64, 37, 42)HEX to RGB Converter →

HEX to HSL

Convert #40252A to HSL:

hsl(349, 27%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #40252A to CMYK:

cmyk(0%, 42%, 34%, 75%)Color Converter →

Color Meaning and Usage

A intense red tone, #40252A has RGB (64, 37, 42) and HSL (349°, 27%, 20%). Known for evoking warmth and passion, this red-orange hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40252A is #25413C, creating high-contrast pairings. For softer combinations, try analogous colors like #412538.

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

Contrast with #40252A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40252A?

#40252A is a intense red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #40252A?

#40252A in RGB is (64, 37, 42) - 64 red, 37 green, and 42 blue.

How to use #40252A in CSS?

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

What colors go well with #40252A?

#25413C (complementary), #412538 (analogous), and #10090B (lighter shade) work well with #40252A.