#AF98BC Color Information

Hex color code: #AF98BC

The hex color #AF98BC is a gentle purple with RGB values of (175, 152, 188) and HSL of (278°, 21%, 67%). It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#AF98BC
RGB
175, 152, 188
HSL
278°, 21%, 67%
CMYK
7%, 19%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF98BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 152, 188

Red: 175 / Green: 152 / Blue: 188

HSL

278°, 21%, 67%

Hue: 278° / Saturation: 21% / Lightness: 67%

CMYK

7%, 19%, 0%, 26%

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

What color is #AF98BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF98BC to RGB:

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

HEX to HSL

Convert #AF98BC to HSL:

hsl(278, 21%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AF98BC to CMYK:

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

Color Meaning and Usage

A subtle purple tone, #AF98BC has RGB (175, 152, 188) and HSL (278°, 21%, 67%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF98BC is #A6BD99, creating high-contrast pairings. For softer combinations, try analogous colors like #9E99BD.

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

Contrast with #AF98BC

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

Contrast Ratio: 8.04:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF98BC?

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

What is the RGB value of #AF98BC?

#AF98BC in RGB is (175, 152, 188) - 175 red, 152 green, and 188 blue.

How to use #AF98BC in CSS?

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

What colors go well with #AF98BC?

#A6BD99 (complementary), #9E99BD (analogous), and #8B6B9E (lighter shade) work well with #AF98BC.