#AF838C Color Information

Hex color code: #AF838C

A pastel red shade, #AF838C appears as (175, 131, 140) in RGB and (348°, 22%, 60%) in HSL. It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#AF838C
RGB
175, 131, 140
HSL
348°, 22%, 60%
CMYK
0%, 25%, 20%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF838C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 131, 140

Red: 175 / Green: 131 / Blue: 140

HSL

348°, 22%, 60%

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

CMYK

0%, 25%, 20%, 31%

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

What color is #AF838C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF838C to RGB:

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

HEX to HSL

Convert #AF838C to HSL:

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

HEX to CMYK

Convert #AF838C to CMYK:

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

Color Meaning and Usage

A delicate red tone, #AF838C has RGB (175, 131, 140) and HSL (348°, 22%, 60%). Known for evoking warmth and passion, this red-orange hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF838C is #83AFA6, creating high-contrast pairings. For softer combinations, try analogous colors like #AF83A2.

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

Contrast with #AF838C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF838C?

#AF838C is a delicate red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AF838C?

#AF838C in RGB is (175, 131, 140) - 175 red, 131 green, and 140 blue.

How to use #AF838C in CSS?

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

What colors go well with #AF838C?

#83AFA6 (complementary), #AF83A2 (analogous), and #8C5A64 (lighter shade) work well with #AF838C.