#12020B Color Information

Hex color code: #12020B

A intense magenta shade, #12020B appears as (18, 2, 11) in RGB and (326°, 80%, 4%) in HSL. It is widely used in graphic design.

Try:
Color NameBlack
HEX
#12020B
RGB
18, 2, 11
HSL
326°, 80%, 4%
CMYK
0%, 89%, 39%, 93%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #12020B; 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 #12020B; background-color: #12020B15; }

Alert / Toast

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

Link / Accent

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

a { color: #12020B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #12020B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 2, 11

Red: 18 / Green: 2 / Blue: 11

HSL

326°, 80%, 4%

Hue: 326° / Saturation: 80% / Lightness: 4%

CMYK

0%, 89%, 39%, 93%

Cyan: 0% / Magenta: 89% / Yellow: 39% / Key: 93%

What color is #12020B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12020B to RGB:

rgb(18, 2, 11)HEX to RGB Converter →

HEX to HSL

Convert #12020B to HSL:

hsl(326, 80%, 4%)RGB to HSL Converter →

HEX to CMYK

Convert #12020B to CMYK:

cmyk(0%, 89%, 39%, 93%)Color Converter →

Color Meaning and Usage

A rich magenta tone, #12020B has RGB (18, 2, 11) and HSL (326°, 80%, 4%). Known for evoking sophistication and elegance, this very dark shade is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #12020B is #021209, creating high-contrast pairings. For softer combinations, try analogous colors like #110212.

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

Contrast with #12020B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12020B?

#12020B is a rich magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #12020B?

#12020B in RGB is (18, 2, 11) - 18 red, 2 green, and 11 blue.

How to use #12020B in CSS?

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

What colors go well with #12020B?

#021209 (complementary), #110212 (analogous), and #000000 (lighter shade) work well with #12020B.