#A842C2 Color Information
Hex color code: #A842C2
#A842C2 is a balanced magenta color. In RGB it is (168, 66, 194), and in HSL it is (288°, 51%, 51%). It is frequently seen in web interfaces.
Shades
color: #A842C2; background-color: #A842C2; border-color: #A842C2; box-shadow: 0 0 10px #A842C2; border: 2px solid #A842C2;
bg-[#A842C2] text-[#A842C2] border-[#A842C2] shadow-[0_0_10px_A842C2]
Generate Gradient
background: linear-gradient(90deg, #A842C2, #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 #A842C2 in the color wheel.
RGB, HSL and CMYK Values
RGB
168, 66, 194
Red: 168 / Green: 66 / Blue: 194
HSL
288°, 51%, 51%
Hue: 288° / Saturation: 51% / Lightness: 51%
CMYK
13%, 66%, 0%, 24%
Cyan: 13% / Magenta: 66% / Yellow: 0% / Key: 24%
What color is #A842C2?
#A842C2 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A understated magenta tone, #A842C2 has RGB (168, 66, 194) and HSL (288°, 51%, 51%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #A842C2 is #5CC242, creating high-contrast pairings. For softer combinations, try analogous colors like #6942C2.
Use #A842C2 in CSS: color: #A842C2 or background-color: #A842C2. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #A842C2
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 #A842C2?
#A842C2 is a understated magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #A842C2?
#A842C2 in RGB is (168, 66, 194) - 168 red, 66 green, and 194 blue.
How to use #A842C2 in CSS?
Use #A842C2 directly in your CSS properties like color or background-color.