#28102D Color Information
Hex color code: #28102D
#28102D is a dark magenta color. In RGB it is (40, 16, 45), and in HSL it is (290°, 48%, 12%). It is frequently seen in web interfaces.
Shades
color: #28102D; background-color: #28102D; border-color: #28102D; box-shadow: 0 0 10px #28102D; border: 2px solid #28102D;
bg-[#28102D] text-[#28102D] border-[#28102D] shadow-[0_0_10px_28102D]
Generate Gradient
background: linear-gradient(90deg, #28102D, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #28102D in the color wheel.
RGB, HSL and CMYK Values
RGB
40, 16, 45
Red: 40 / Green: 16 / Blue: 45
HSL
290°, 48%, 12%
Hue: 290° / Saturation: 48% / Lightness: 12%
CMYK
11%, 64%, 0%, 82%
Cyan: 11% / Magenta: 64% / Yellow: 0% / Key: 82%
What color is #28102D?
#28102D is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A deep magenta tone, #28102D has RGB (40, 16, 45) and HSL (290°, 48%, 12%). 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 #28102D is #152D10, creating high-contrast pairings. For softer combinations, try analogous colors like #1A102D.
Use #28102D in CSS: color: #28102D or background-color: #28102D. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #28102D
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #28102D?
#28102D is a deep magenta color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #28102D?
#28102D in RGB is (40, 16, 45) - 40 red, 16 green, and 45 blue.
How to use #28102D in CSS?
Use #28102D directly in your CSS properties like color or background-color.