Home /Colors /#AF318B
#AF318B#AF318B

#AF318B color code is #AF318B. Use this page to get all code formats, explore shades and tints, and find colors that work with #af318b.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #AF318B

#AF318B Accessibility & WCAG Contrast

Relative luminance of #AF318B is 0.1317. Its WCAG contrast ratio is 5.78:1 against white and 3.63:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#AF318B on white5.78:1AA
The quick brown fox
#AF318B on black3.63:1AA Large
The quick brown fox
White on #AF318B5.78:1AA
The quick brown fox
Black on #AF318B3.63:1AA Large

#AF318B — Frequently Asked Questions

What is the hex code for #AF318B?+
The hex code for #AF318B is #AF318B. In RGB it's rgb(175, 49, 139), and in HSL it's hsl(317, 56%, 44%).
What is the RGB value of #AF318B?+
#AF318B in RGB is (175, 49, 139). Written in CSS: rgb(175, 49, 139).
What is the CMYK value of #AF318B?+
#AF318B converts to CMYK(0%, 72%, 21%, 31%) for print. Hex equivalent is #AF318B.
Is #af318b a warm or cool color?+
#AF318B (#AF318B) is a transitional magenta — its hue sits at 317° on the color wheel, placing it in the transitional part of the spectrum.
What color family does #af318b belong to?+
#AF318B belongs to the magenta family. Its HSL is 317°, 56%, 44% — a transitional tone within the broader magenta group.
Is #af318b accessible for body text on a white background?+
#AF318B on white reaches a WCAG contrast ratio of 5.78:1 — passes WCAG AA for body text on white.
What is the closest Pantone match for #af318b?+
The nearest Pantone match for #AF318B (#AF318B) is 3445 C Deep Berry, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #AF318B in design

Practical guidance for using #af318b (#AF318B) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #AF318B (#AF318B) as primary text or icon color on white backgrounds — at 5.8:1 contrast it passes WCAG AA for body copy. Avoid placing #af318b text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #AF318B (#AF318B) reads as balanced and approachable and versatile across product tiers. It fits naturally into fashion, beauty, music, youthful events. Pair it with a higher-contrast accent (warm if magenta runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#AF318B flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#AF318B works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.

Brands that use #AF318B

Major brands whose official palette contains a color within ~30 RGB units of #af318b (#AF318B). Click through for the full brand color guide.

Instagram#C13584 · Instagram Pink