Maroon Colors  ·  Color Library

Palettes / Colors / #AF239E

#AF239E — Pink

#AF239E is a pink color we call Pink, closest to the named color MediumVioletRed (#C71585). It belongs to the pink family.

Color name

Closest CSS keyword: mediumvioletred (#C71585) — not an exact match. CSS mediumvioletred gives you #C71585, a different color; use #AF239E when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AF239E is a warm-leaning pink color associated with playfulness, romance and softness. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #23AF33; it also sits naturally between #7923AF and #AF2358. In the palettes below you can see it working alongside real color combinations from our collection.

#AF239E · RGB 175, 35, 158

Download PNG swatch SVG

Color values

HEX#AF239E
RGB175, 35, 158
HSL307°, 67%, 41%
HSV307°, 80%, 69%
CMYK0%, 80%, 10%, 31%
XYZ24.45, 12.78, 33.53
Yxy12.78, 0.3455, 0.1807
CIE-Lab42.44, 66.12, -34.30
Hunter Lab35.76, 62.38, -33.76

RGB & CMYK percentages

Red 69% · Green 14% · Blue 62%

Cyan 0% · Magenta 80% · Yellow 10% · Key 31%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AF239E on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AF239E on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AF239E

.text { color: #AF239E; }
.background { background-color: #AF239E; }
.border { border: 3px solid #AF239E; }
.text-rgb { color: rgb(175, 35, 158); }
.text-hsl { color: hsl(307, 67%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF239E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 35, 158, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF239E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 35, 158, 0.8); }

HTML: <p style="color:#AF239E">Text here</p> · <div style="background-color:#AF239E">Div content here</div>

Shades of #AF239E

#9E1F8F#911D83#801974#6F1664#621359#511049#400D3A#2F092A#22071F#11030F

Tints of #AF239E

#C828B5#D733C3#DC4CCB#E061D1#E57BD9#E990DF#EEAAE6#F2BFEC#F7D9F4#FCEEFA

Tones of #AF239E

#A42D96#9B368F#904187#874A80#7C5578#735E71

Color harmonies

Complementary — #23AF33:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.90:1 AA
Against black text3.56:1 AA large only

Best text color on #AF239E: #FFFFFF.

Semi-transparent (opacity) text on #AF239E

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AF239E: ·

How #AF239E looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #727180Deuteranopia · #7B8579Tritanopia · #A86964

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Purple 500 · #9C27B0Tailwind fuchsia 600 · #C026D3Tailwind pink 600 · #DB2777

Palettes with a similar color

These palettes use a close neighbour of #AF239E rather than the exact color:

Honey Ruby Bloom
#B221A1 · #E072E5 · #66E375 · #A2E69D
Serene Breeze
#D26FCA · #A8299E · #741B6D · #4C1548
Velvet Ember
#2492A2 · #A82597 · #CDDC60 · #D2E7EF
Palette Faf562
#FAF562 · #F36A7B · #B824A4 · #AAAAAA
Serene Harbor
#AA2CA4 · #C42D76 · #D33739 · #9A561B
Amber Ruby Meadow
#1D7AA5 · #10195D · #6325B0 · #AA1EA8

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#B221A1#A8299E#A82597#B824A4#AA2CA4#AA1EA8#B82494#B01B93#B829A7#A829A9#AB2C93#B1329E

Browse neighbouring colors

← #AF239D  ·  #AF239F →

Frequently asked questions

What color is #AF239E?

#AF239E is Pink, a pink color (RGB 175, 35, 158). Its closest standard named color is MediumVioletRed.

What is the RGB and HSL of #AF239E?

#AF239E is RGB 175, 35, 158 — HSL 307°, 67%, 41% — CMYK 0%, 80%, 10%, 31%.

What colors go with #AF239E?

Its complement is #23AF33; analogous partners are #7923AF and #AF2358. It also appears in 6+ palettes in our collection.

Can I use #AF239E for text?

White text on #AF239E has a contrast ratio of 5.90:1 (passes WCAG AA); black text gives 3.56:1.