#401212 Color Information

Hex color code: #401212

The hex color #401212 is a intense red with RGB values of (64, 18, 18) and HSL of (0°, 56%, 16%). It is widely used in graphic design.

Try:
Color NameBlack
HEX
#401212
RGB
64, 18, 18
HSL
0°, 56%, 16%
CMYK
0%, 72%, 72%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #401212; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 18, 18

Red: 64 / Green: 18 / Blue: 18

HSL

0°, 56%, 16%

Hue: 0° / Saturation: 56% / Lightness: 16%

CMYK

0%, 72%, 72%, 75%

Cyan: 0% / Magenta: 72% / Yellow: 72% / Key: 75%

What color is #401212?

#401212 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #401212 to RGB:

rgb(64, 18, 18)HEX to RGB Converter →

HEX to HSL

Convert #401212 to HSL:

hsl(0, 56%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #401212 to CMYK:

cmyk(0%, 72%, 72%, 75%)Color Converter →

Color Meaning and Usage

A dark red tone, #401212 has RGB (64, 18, 18) and HSL (0°, 56%, 16%). Known for evoking sophistication and elegance, this very dark shade is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #401212 is #124040, creating high-contrast pairings. For softer combinations, try analogous colors like #401229.

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

Contrast with #401212

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #401212?

#401212 is a dark red color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #401212?

#401212 in RGB is (64, 18, 18) - 64 red, 18 green, and 18 blue.

How to use #401212 in CSS?

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

What colors go well with #401212?

#124040 (complementary), #401229 (analogous), and #040101 (lighter shade) work well with #401212.