#AF74A3 Color Information

Hex color code: #AF74A3

A subtle magenta shade, #AF74A3 appears as (175, 116, 163) in RGB and (312°, 27%, 57%) in HSL. It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AF74A3
RGB
175, 116, 163
HSL
312°, 27%, 57%
CMYK
0%, 34%, 7%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF74A3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 116, 163

Red: 175 / Green: 116 / Blue: 163

HSL

312°, 27%, 57%

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

CMYK

0%, 34%, 7%, 31%

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

What color is #AF74A3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF74A3 to RGB:

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

HEX to HSL

Convert #AF74A3 to HSL:

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

HEX to CMYK

Convert #AF74A3 to CMYK:

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

Color Meaning and Usage

#AF74A3 is a pastel magenta color with RGB values of 175, 116, 163 and HSL of 312°, 27%, 57%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF74A3 is #74AF80, creating high-contrast pairings. For softer combinations, try analogous colors like #9D74AF.

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

Contrast with #AF74A3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF74A3?

#AF74A3 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF74A3?

#AF74A3 in RGB is (175, 116, 163) - 175 red, 116 green, and 163 blue.

How to use #AF74A3 in CSS?

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

What colors go well with #AF74A3?

#74AF80 (complementary), #9D74AF (analogous), and #884E7C (lighter shade) work well with #AF74A3.