#AF4BAC Color Information

Hex color code: #AF4BAC

The hex color #AF4BAC is a subtle magenta with RGB values of (175, 75, 172) and HSL of (302°, 40%, 49%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#AF4BAC
RGB
175, 75, 172
HSL
302°, 40%, 49%
CMYK
0%, 57%, 2%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF4BAC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 75, 172

Red: 175 / Green: 75 / Blue: 172

HSL

302°, 40%, 49%

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

CMYK

0%, 57%, 2%, 31%

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

What color is #AF4BAC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF4BAC to RGB:

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

HEX to HSL

Convert #AF4BAC to HSL:

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

HEX to CMYK

Convert #AF4BAC to CMYK:

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

Color Meaning and Usage

#AF4BAC is a pastel magenta color with RGB values of 175, 75, 172 and HSL of 302°, 40%, 49%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF4BAC is #4BAF4E, creating high-contrast pairings. For softer combinations, try analogous colors like #804BAF.

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

Contrast with #AF4BAC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF4BAC?

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

What is the RGB value of #AF4BAC?

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

How to use #AF4BAC in CSS?

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

What colors go well with #AF4BAC?

#4BAF4E (complementary), #804BAF (analogous), and #793477 (lighter shade) work well with #AF4BAC.