#AF74A1 Color Information

Hex color code: #AF74A1

The hex color #AF74A1 is a gentle magenta with RGB values of (175, 116, 161) and HSL of (314°, 27%, 57%). It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#AF74A1
RGB
175, 116, 161
HSL
314°, 27%, 57%
CMYK
0%, 34%, 8%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AF74A1; 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 #AF74A1; background-color: #AF74A115; }

Alert / Toast

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

Link / Accent

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

a { color: #AF74A1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 116, 161

Red: 175 / Green: 116 / Blue: 161

HSL

314°, 27%, 57%

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

CMYK

0%, 34%, 8%, 31%

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

What color is #AF74A1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF74A1 to RGB:

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

HEX to HSL

Convert #AF74A1 to HSL:

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

HEX to CMYK

Convert #AF74A1 to CMYK:

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

Color Meaning and Usage

A soft magenta tone, #AF74A1 has RGB (175, 116, 161) and HSL (314°, 27%, 57%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF74A1 is #74AF82, creating high-contrast pairings. For softer combinations, try analogous colors like #9F74AF.

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

Contrast with #AF74A1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF74A1?

#AF74A1 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF74A1?

#AF74A1 in RGB is (175, 116, 161) - 175 red, 116 green, and 161 blue.

How to use #AF74A1 in CSS?

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

What colors go well with #AF74A1?

#74AF82 (complementary), #9F74AF (analogous), and #884E7B (lighter shade) work well with #AF74A1.