#271122 Color Information

Hex color code: #271122

A intense magenta shade, #271122 appears as (39, 17, 34) in RGB and (314°, 39%, 11%) in HSL. It is widely used in graphic design.

Try:
Color NameBlack
HEX
#271122
RGB
39, 17, 34
HSL
314°, 39%, 11%
CMYK
0%, 56%, 13%, 85%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #271122; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

39, 17, 34

Red: 39 / Green: 17 / Blue: 34

HSL

314°, 39%, 11%

Hue: 314° / Saturation: 39% / Lightness: 11%

CMYK

0%, 56%, 13%, 85%

Cyan: 0% / Magenta: 56% / Yellow: 13% / Key: 85%

What color is #271122?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #271122 to RGB:

rgb(39, 17, 34)HEX to RGB Converter →

HEX to HSL

Convert #271122 to HSL:

hsl(314, 39%, 11%)RGB to HSL Converter →

HEX to CMYK

Convert #271122 to CMYK:

cmyk(0%, 56%, 13%, 85%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #271122 has RGB (39, 17, 34) and HSL (314°, 39%, 11%). Known for evoking sophistication and elegance, this very dark shade is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #271122 is #112716, creating high-contrast pairings. For softer combinations, try analogous colors like #211127.

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

Contrast with #271122

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #271122?

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

What is the RGB value of #271122?

#271122 in RGB is (39, 17, 34) - 39 red, 17 green, and 34 blue.

How to use #271122 in CSS?

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

What colors go well with #271122?

#112716 (complementary), #211127 (analogous), and #000000 (lighter shade) work well with #271122.