#28052E Color Information

Hex color code: #28052E

A intense magenta shade, #28052E appears as (40, 5, 46) in RGB and (291°, 80%, 10%) in HSL. It is popular in mobile app design.

Try:
Color NameBlack
HEX
#28052E
RGB
40, 5, 46
HSL
291°, 80%, 10%
CMYK
13%, 89%, 0%, 82%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #28052E; 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 #28052E; background-color: #28052E15; }

Alert / Toast

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

Link / Accent

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

a { color: #28052E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #28052E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 5, 46

Red: 40 / Green: 5 / Blue: 46

HSL

291°, 80%, 10%

Hue: 291° / Saturation: 80% / Lightness: 10%

CMYK

13%, 89%, 0%, 82%

Cyan: 13% / Magenta: 89% / Yellow: 0% / Key: 82%

What color is #28052E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #28052E to RGB:

rgb(40, 5, 46)HEX to RGB Converter →

HEX to HSL

Convert #28052E to HSL:

hsl(291, 80%, 10%)RGB to HSL Converter →

HEX to CMYK

Convert #28052E to CMYK:

cmyk(13%, 89%, 0%, 82%)Color Converter →

Color Meaning and Usage

#28052E is a dramatic magenta color with RGB values of 40, 5, 46 and HSL of 291°, 80%, 10%. This very dark shade evokes sophistication and elegance, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #28052E is #0B2E05, creating high-contrast pairings. For softer combinations, try analogous colors like #13052E.

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

Contrast with #28052E

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 #28052E?

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

What is the RGB value of #28052E?

#28052E in RGB is (40, 5, 46) - 40 red, 5 green, and 46 blue.

How to use #28052E in CSS?

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

What colors go well with #28052E?

#0B2E05 (complementary), #13052E (analogous), and #000000 (lighter shade) work well with #28052E.