#AF74A5 Color Information

Hex color code: #AF74A5

#AF74A5 is a pastel magenta color. In RGB it is (175, 116, 165), and in HSL it is (310°, 27%, 57%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#AF74A5
RGB
175, 116, 165
HSL
310°, 27%, 57%
CMYK
0%, 34%, 6%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF74A5; color: #000000; }

Badge

New Feature
.badge { background-color: #AF74A5; color: #000000; }

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 #AF74A5; background-color: #AF74A515; }

Alert / Toast

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

Link / Accent

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

a { color: #AF74A5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AF74A5 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 116, 165

Red: 175 / Green: 116 / Blue: 165

HSL

310°, 27%, 57%

Hue: 310° / Saturation: 27% / Lightness: 57%

CMYK

0%, 34%, 6%, 31%

Cyan: 0% / Magenta: 34% / Yellow: 6% / Key: 31%

What color is #AF74A5?

#AF74A5 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF74A5 to RGB:

rgb(175, 116, 165)HEX to RGB Converter →

HEX to HSL

Convert #AF74A5 to HSL:

hsl(310, 27%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #AF74A5 to CMYK:

cmyk(0%, 34%, 6%, 31%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #AF74A5 has RGB (175, 116, 165) and HSL (310°, 27%, 57%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF74A5 is #74AF7E, creating high-contrast pairings. For softer combinations, try analogous colors like #9B74AF.

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

Contrast with #AF74A5

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

Contrast Ratio: 5.86:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF74A5?

#AF74A5 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF74A5?

#AF74A5 in RGB is (175, 116, 165) - 175 red, 116 green, and 165 blue.

How to use #AF74A5 in CSS?

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

What colors go well with #AF74A5?

#74AF7E (complementary), #9B74AF (analogous), and #884E7E (lighter shade) work well with #AF74A5.