#1D1118 Color Information

Hex color code: #1D1118

A dark magenta shade, #1D1118 appears as (29, 17, 24) in RGB and (325°, 26%, 9%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameBlack
HEX
#1D1118
RGB
29, 17, 24
HSL
325°, 26%, 9%
CMYK
0%, 41%, 17%, 89%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #1D1118; 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 #1D1118; background-color: #1D111815; }

Alert / Toast

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

Link / Accent

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

a { color: #1D1118; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1D1118 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

29, 17, 24

Red: 29 / Green: 17 / Blue: 24

HSL

325°, 26%, 9%

Hue: 325° / Saturation: 26% / Lightness: 9%

CMYK

0%, 41%, 17%, 89%

Cyan: 0% / Magenta: 41% / Yellow: 17% / Key: 89%

What color is #1D1118?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1D1118 to RGB:

rgb(29, 17, 24)HEX to RGB Converter →

HEX to HSL

Convert #1D1118 to HSL:

hsl(325, 26%, 9%)RGB to HSL Converter →

HEX to CMYK

Convert #1D1118 to CMYK:

cmyk(0%, 41%, 17%, 89%)Color Converter →

Color Meaning and Usage

#1D1118 is a dramatic magenta color with RGB values of 29, 17, 24 and HSL of 325°, 26%, 9%. This very dark shade evokes sophistication and elegance, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1D1118 is #111D16, creating high-contrast pairings. For softer combinations, try analogous colors like #1C111D.

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

Contrast with #1D1118

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1D1118?

#1D1118 is a dramatic magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #1D1118?

#1D1118 in RGB is (29, 17, 24) - 29 red, 17 green, and 24 blue.

How to use #1D1118 in CSS?

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

What colors go well with #1D1118?

#111D16 (complementary), #1C111D (analogous), and #000000 (lighter shade) work well with #1D1118.