#34272B Color Information

Hex color code: #34272B

A dark magenta shade, #34272B appears as (52, 39, 43) in RGB and (342°, 14%, 18%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#34272B
RGB
52, 39, 43
HSL
342°, 14%, 18%
CMYK
0%, 25%, 17%, 80%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #34272B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 39, 43

Red: 52 / Green: 39 / Blue: 43

HSL

342°, 14%, 18%

Hue: 342° / Saturation: 14% / Lightness: 18%

CMYK

0%, 25%, 17%, 80%

Cyan: 0% / Magenta: 25% / Yellow: 17% / Key: 80%

What color is #34272B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #34272B to RGB:

rgb(52, 39, 43)HEX to RGB Converter →

HEX to HSL

Convert #34272B to HSL:

hsl(342, 14%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #34272B to CMYK:

cmyk(0%, 25%, 17%, 80%)Color Converter →

Color Meaning and Usage

A intense magenta tone, #34272B has RGB (52, 39, 43) and HSL (342°, 14%, 18%). 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 #34272B is #273430, creating high-contrast pairings. For softer combinations, try analogous colors like #342732.

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

Contrast with #34272B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #34272B?

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

What is the RGB value of #34272B?

#34272B in RGB is (52, 39, 43) - 52 red, 39 green, and 43 blue.

How to use #34272B in CSS?

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

What colors go well with #34272B?

#273430 (complementary), #342732 (analogous), and #090707 (lighter shade) work well with #34272B.