#240F29 Color Information

Hex color code: #240F29

A intense magenta shade, #240F29 appears as (36, 15, 41) in RGB and (288°, 46%, 11%) in HSL. It is popular in mobile app design.

Try:
Color NameBlack
HEX
#240F29
RGB
36, 15, 41
HSL
288°, 46%, 11%
CMYK
12%, 63%, 0%, 84%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #240F29; 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 #240F29; background-color: #240F2915; }

Alert / Toast

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

Link / Accent

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

a { color: #240F29; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #240F29 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

36, 15, 41

Red: 36 / Green: 15 / Blue: 41

HSL

288°, 46%, 11%

Hue: 288° / Saturation: 46% / Lightness: 11%

CMYK

12%, 63%, 0%, 84%

Cyan: 12% / Magenta: 63% / Yellow: 0% / Key: 84%

What color is #240F29?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #240F29 to RGB:

rgb(36, 15, 41)HEX to RGB Converter →

HEX to HSL

Convert #240F29 to HSL:

hsl(288, 46%, 11%)RGB to HSL Converter →

HEX to CMYK

Convert #240F29 to CMYK:

cmyk(12%, 63%, 0%, 84%)Color Converter →

Color Meaning and Usage

#240F29 is a intense magenta color with RGB values of 36, 15, 41 and HSL of 288°, 46%, 11%. This very dark shade evokes sophistication and elegance, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #240F29 is #14290F, creating high-contrast pairings. For softer combinations, try analogous colors like #170F29.

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

Contrast with #240F29

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #240F29?

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

What is the RGB value of #240F29?

#240F29 in RGB is (36, 15, 41) - 36 red, 15 green, and 41 blue.

How to use #240F29 in CSS?

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

What colors go well with #240F29?

#14290F (complementary), #170F29 (analogous), and #000000 (lighter shade) work well with #240F29.