#AF34CB Color Information

Hex color code: #AF34CB

The hex color #AF34CB is a subtle magenta with RGB values of (175, 52, 203) and HSL of (289°, 59%, 50%). It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#AF34CB
RGB
175, 52, 203
HSL
289°, 59%, 50%
CMYK
14%, 74%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF34CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 52, 203

Red: 175 / Green: 52 / Blue: 203

HSL

289°, 59%, 50%

Hue: 289° / Saturation: 59% / Lightness: 50%

CMYK

14%, 74%, 0%, 20%

Cyan: 14% / Magenta: 74% / Yellow: 0% / Key: 20%

What color is #AF34CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF34CB to RGB:

rgb(175, 52, 203)HEX to RGB Converter →

HEX to HSL

Convert #AF34CB to HSL:

hsl(289, 59%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #AF34CB to CMYK:

cmyk(14%, 74%, 0%, 20%)Color Converter →

Color Meaning and Usage

#AF34CB is a balanced magenta color with RGB values of 175, 52, 203 and HSL of 289°, 59%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF34CB is #50CB34, creating high-contrast pairings. For softer combinations, try analogous colors like #6434CB.

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

Contrast with #AF34CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF34CB?

#AF34CB is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF34CB?

#AF34CB in RGB is (175, 52, 203) - 175 red, 52 green, and 203 blue.

How to use #AF34CB in CSS?

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

What colors go well with #AF34CB?

#50CB34 (complementary), #6434CB (analogous), and #7B258E (lighter shade) work well with #AF34CB.