#21020D Color Information

Hex color code: #21020D

The hex color #21020D is a rich magenta with RGB values of (33, 2, 13) and HSL of (339°, 89%, 7%). It is often used for branding and logos.

Try:
Color NameBlack
HEX
#21020D
RGB
33, 2, 13
HSL
339°, 89%, 7%
CMYK
0%, 94%, 61%, 87%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #21020D; 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 #21020D; background-color: #21020D15; }

Alert / Toast

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

Link / Accent

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

a { color: #21020D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #21020D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

33, 2, 13

Red: 33 / Green: 2 / Blue: 13

HSL

339°, 89%, 7%

Hue: 339° / Saturation: 89% / Lightness: 7%

CMYK

0%, 94%, 61%, 87%

Cyan: 0% / Magenta: 94% / Yellow: 61% / Key: 87%

What color is #21020D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #21020D to RGB:

rgb(33, 2, 13)HEX to RGB Converter →

HEX to HSL

Convert #21020D to HSL:

hsl(339, 89%, 7%)RGB to HSL Converter →

HEX to CMYK

Convert #21020D to CMYK:

cmyk(0%, 94%, 61%, 87%)Color Converter →

Color Meaning and Usage

#21020D is a intense magenta color with RGB values of 33, 2, 13 and HSL of 339°, 89%, 7%. This very dark shade evokes sophistication and elegance, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #21020D is #022217, creating high-contrast pairings. For softer combinations, try analogous colors like #22021D.

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

Contrast with #21020D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #21020D?

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

What is the RGB value of #21020D?

#21020D in RGB is (33, 2, 13) - 33 red, 2 green, and 13 blue.

How to use #21020D in CSS?

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

What colors go well with #21020D?

#022217 (complementary), #22021D (analogous), and #000000 (lighter shade) work well with #21020D.