#AF8A98 Color Information

Hex color code: #AF8A98

#AF8A98 is a balanced magenta color. In RGB it is (175, 138, 152), and in HSL it is (337°, 19%, 61%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AF8A98
RGB
175, 138, 152
HSL
337°, 19%, 61%
CMYK
0%, 21%, 13%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8A98; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 138, 152

Red: 175 / Green: 138 / Blue: 152

HSL

337°, 19%, 61%

Hue: 337° / Saturation: 19% / Lightness: 61%

CMYK

0%, 21%, 13%, 31%

Cyan: 0% / Magenta: 21% / Yellow: 13% / Key: 31%

What color is #AF8A98?

#AF8A98 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8A98 to RGB:

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

HEX to HSL

Convert #AF8A98 to HSL:

hsl(337, 19%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8A98 to CMYK:

cmyk(0%, 21%, 13%, 31%)Color Converter →

Color Meaning and Usage

#AF8A98 is a balanced magenta color with RGB values of 175, 138, 152 and HSL of 337°, 19%, 61%. This red-orange hue evokes warmth and passion, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8A98 is #89AEA0, creating high-contrast pairings. For softer combinations, try analogous colors like #AE89AA.

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

Contrast with #AF8A98

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8A98?

#AF8A98 is a balanced magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AF8A98?

#AF8A98 in RGB is (175, 138, 152) - 175 red, 138 green, and 152 blue.

How to use #AF8A98 in CSS?

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

What colors go well with #AF8A98?

#89AEA0 (complementary), #AE89AA (analogous), and #8C5F70 (lighter shade) work well with #AF8A98.