#AF4BAF Color Information

Hex color code: #AF4BAF

The hex color #AF4BAF is a gentle magenta with RGB values of (175, 75, 175) and HSL of (300°, 40%, 49%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#AF4BAF
RGB
175, 75, 175
HSL
300°, 40%, 49%
CMYK
0%, 57%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF4BAF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AF4BAF; color: #FFFFFF; }

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 #AF4BAF; background-color: #AF4BAF15; }

Alert / Toast

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

Link / Accent

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

a { color: #AF4BAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 75, 175

Red: 175 / Green: 75 / Blue: 175

HSL

300°, 40%, 49%

Hue: 300° / Saturation: 40% / Lightness: 49%

CMYK

0%, 57%, 0%, 31%

Cyan: 0% / Magenta: 57% / Yellow: 0% / Key: 31%

What color is #AF4BAF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF4BAF to RGB:

rgb(175, 75, 175)HEX to RGB Converter →

HEX to HSL

Convert #AF4BAF to HSL:

hsl(300, 40%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #AF4BAF to CMYK:

cmyk(0%, 57%, 0%, 31%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #AF4BAF has RGB (175, 75, 175) and HSL (300°, 40%, 49%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF4BAF is #4BAF4B, creating high-contrast pairings. For softer combinations, try analogous colors like #7D4BAF.

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

Contrast with #AF4BAF

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

Contrast Ratio: 4.45:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF4BAF?

#AF4BAF is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF4BAF?

#AF4BAF in RGB is (175, 75, 175) - 175 red, 75 green, and 175 blue.

How to use #AF4BAF in CSS?

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

What colors go well with #AF4BAF?

#4BAF4B (complementary), #7D4BAF (analogous), and #793479 (lighter shade) work well with #AF4BAF.