#A42D98 Color Information
Hex color code: #A42D98
A balanced magenta shade, #A42D98 appears as (164, 45, 152) in RGB and (306°, 57%, 41%) in HSL. It is often used for branding and logos.
Shades
color: #A42D98; background-color: #A42D98; border-color: #A42D98; box-shadow: 0 0 10px #A42D98; border: 2px solid #A42D98;
bg-[#A42D98] text-[#A42D98] border-[#A42D98] shadow-[0_0_10px_A42D98]
Generate Gradient
background: linear-gradient(90deg, #A42D98, #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 #A42D98 in the color wheel.
RGB, HSL and CMYK Values
RGB
164, 45, 152
Red: 164 / Green: 45 / Blue: 152
HSL
306°, 57%, 41%
Hue: 306° / Saturation: 57% / Lightness: 41%
CMYK
0%, 73%, 7%, 36%
Cyan: 0% / Magenta: 73% / Yellow: 7% / Key: 36%
What color is #A42D98?
#A42D98 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A balanced magenta tone, #A42D98 has RGB (164, 45, 152) and HSL (306°, 57%, 41%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #A42D98 is #2DA439, creating high-contrast pairings. For softer combinations, try analogous colors like #742DA4.
Use #A42D98 in CSS: color: #A42D98 or background-color: #A42D98. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #A42D98
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 #A42D98?
#A42D98 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #A42D98?
#A42D98 in RGB is (164, 45, 152) - 164 red, 45 green, and 152 blue.
How to use #A42D98 in CSS?
Use #A42D98 directly in your CSS properties like color or background-color.