#240912 Color Information

Hex color code: #240912

A dramatic magenta shade, #240912 appears as (36, 9, 18) in RGB and (340°, 60%, 9%) in HSL. It is typically applied in digital products.

Try:
Color NameBlack
HEX
#240912
RGB
36, 9, 18
HSL
340°, 60%, 9%
CMYK
0%, 75%, 50%, 86%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #240912; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

36, 9, 18

Red: 36 / Green: 9 / Blue: 18

HSL

340°, 60%, 9%

Hue: 340° / Saturation: 60% / Lightness: 9%

CMYK

0%, 75%, 50%, 86%

Cyan: 0% / Magenta: 75% / Yellow: 50% / Key: 86%

What color is #240912?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #240912 to RGB:

rgb(36, 9, 18)HEX to RGB Converter →

HEX to HSL

Convert #240912 to HSL:

hsl(340, 60%, 9%)RGB to HSL Converter →

HEX to CMYK

Convert #240912 to CMYK:

cmyk(0%, 75%, 50%, 86%)Color Converter →

Color Meaning and Usage

#240912 is a intense magenta color with RGB values of 36, 9, 18 and HSL of 340°, 60%, 9%. This very dark shade evokes sophistication and elegance, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #240912 is #09251C, creating high-contrast pairings. For softer combinations, try analogous colors like #250920.

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

Contrast with #240912

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #240912?

#240912 is a intense magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #240912?

#240912 in RGB is (36, 9, 18) - 36 red, 9 green, and 18 blue.

How to use #240912 in CSS?

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

What colors go well with #240912?

#09251C (complementary), #250920 (analogous), and #000000 (lighter shade) work well with #240912.