#AF74BC Color Information

Hex color code: #AF74BC

#AF74BC is a pastel magenta color. In RGB it is (175, 116, 188), and in HSL it is (289°, 35%, 60%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#AF74BC
RGB
175, 116, 188
HSL
289°, 35%, 60%
CMYK
7%, 38%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF74BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 116, 188

Red: 175 / Green: 116 / Blue: 188

HSL

289°, 35%, 60%

Hue: 289° / Saturation: 35% / Lightness: 60%

CMYK

7%, 38%, 0%, 26%

Cyan: 7% / Magenta: 38% / Yellow: 0% / Key: 26%

What color is #AF74BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF74BC to RGB:

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

HEX to HSL

Convert #AF74BC to HSL:

hsl(289, 35%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #AF74BC to CMYK:

cmyk(7%, 38%, 0%, 26%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #AF74BC has RGB (175, 116, 188) and HSL (289°, 35%, 60%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF74BC is #82BD75, creating high-contrast pairings. For softer combinations, try analogous colors like #8C75BD.

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

Contrast with #AF74BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF74BC?

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

What is the RGB value of #AF74BC?

#AF74BC in RGB is (175, 116, 188) - 175 red, 116 green, and 188 blue.

How to use #AF74BC in CSS?

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

What colors go well with #AF74BC?

#82BD75 (complementary), #8C75BD (analogous), and #8C4B9B (lighter shade) work well with #AF74BC.