#AF236B Color Information

Hex color code: #AF236B

A understated magenta shade, #AF236B appears as (175, 35, 107) in RGB and (329°, 67%, 41%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Violet Red
HEX
#AF236B
RGB
175, 35, 107
HSL
329°, 67%, 41%
CMYK
0%, 80%, 39%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF236B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 35, 107

Red: 175 / Green: 35 / Blue: 107

HSL

329°, 67%, 41%

Hue: 329° / Saturation: 67% / Lightness: 41%

CMYK

0%, 80%, 39%, 31%

Cyan: 0% / Magenta: 80% / Yellow: 39% / Key: 31%

What color is #AF236B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF236B to RGB:

rgb(175, 35, 107)HEX to RGB Converter →

HEX to HSL

Convert #AF236B to HSL:

hsl(329, 67%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #AF236B to CMYK:

cmyk(0%, 80%, 39%, 31%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #AF236B has RGB (175, 35, 107) and HSL (329°, 67%, 41%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF236B is #23AF66, creating high-contrast pairings. For softer combinations, try analogous colors like #AC23AF.

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

Contrast with #AF236B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF236B?

#AF236B is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF236B?

#AF236B in RGB is (175, 35, 107) - 175 red, 35 green, and 107 blue.

How to use #AF236B in CSS?

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

What colors go well with #AF236B?

#23AF66 (complementary), #AC23AF (analogous), and #6F1644 (lighter shade) work well with #AF236B.