#AF838F Color Information

Hex color code: #AF838F

The hex color #AF838F is a pastel magenta with RGB values of (175, 131, 143) and HSL of (344°, 22%, 60%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#AF838F
RGB
175, 131, 143
HSL
344°, 22%, 60%
CMYK
0%, 25%, 18%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF838F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 131, 143

Red: 175 / Green: 131 / Blue: 143

HSL

344°, 22%, 60%

Hue: 344° / Saturation: 22% / Lightness: 60%

CMYK

0%, 25%, 18%, 31%

Cyan: 0% / Magenta: 25% / Yellow: 18% / Key: 31%

What color is #AF838F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF838F to RGB:

rgb(175, 131, 143)HEX to RGB Converter →

HEX to HSL

Convert #AF838F to HSL:

hsl(344, 22%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #AF838F to CMYK:

cmyk(0%, 25%, 18%, 31%)Color Converter →

Color Meaning and Usage

#AF838F is a pastel magenta color with RGB values of 175, 131, 143 and HSL of 344°, 22%, 60%. This red-orange hue evokes warmth and passion, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF838F is #83AFA3, creating high-contrast pairings. For softer combinations, try analogous colors like #AF83A5.

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

Contrast with #AF838F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF838F?

#AF838F is a pastel magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AF838F?

#AF838F in RGB is (175, 131, 143) - 175 red, 131 green, and 143 blue.

How to use #AF838F in CSS?

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

What colors go well with #AF838F?

#83AFA3 (complementary), #AF83A5 (analogous), and #8C5A67 (lighter shade) work well with #AF838F.