Skip to content

#af496e

a balanced, soft magenta / pink · warm · closest name: Medium Violet Red

RGB
175, 73, 110
HSL
338°, 41%, 49%
CMYK
0, 58, 37, 31
Luminance
0.1500

At a glance

Every number on this page in one read: what #af496e is made of, how bright it looks, and which way it leans.

Hex
#af496e
Hue
338°
magenta / pink
Saturation
41%
soft
Lightness
49%
balanced
Brightness
69%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1500
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
5.25:1
Closest name
Medium Violet Red
ΔE2000 9.2
Where it sits
Hue338° of 360°
Saturation41%
Lightness49%
Temperature
Warm ← → Cool29% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#af496e
RGBrgb(175, 73, 110)
HSLhsl(338, 41%, 49%)
CMYKcmyk(0%, 58%, 37%, 31%)
LABlab(45.6 45.3 -0.2)
LCHlch(45.6 45.3 359.7)
OKLCHoklch(0.549 0.138 360.0)
Decimal11487598
Display P3color(display-p3 0.686 0.286 0.431)

Copy-ready code

/* CSS */
color: #af496e;
background-color: #af496e;
/* Tailwind (arbitrary) */
class="text-[#af496e] bg-[#af496e]"
/* SCSS */
$brand: #af496e;
/* SwiftUI */
Color(red: 0.686, green: 0.286, blue: 0.431)
/* Android */
Color.parseColor("#af496e")
/* Flutter */
Color(0xFFAF496E)
/* Python / OpenCV (BGR) */
(110, 73, 175)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #af496e · 5.25:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.25:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.00:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af496e as text scores 5.25:1 on white and 4.00:1 on black.

Accessibility — WCAG contrast

Aa
#af496e on white: 5.25:1
AA ✓ pass · AA-large · AAA
Aa
#af496e on black: 4.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5B606F
deuteranopia · #75736C
tritanopia · #BC4057

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af496e is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF5F7
#F5EBEE
#EAD2DB
#DEB0C1
#CD88A1
#BD6182
#af496e
#903C5B
#733048
#542637
#351822
Base = 600Lightest = 50 · #FAF5F7Darkest = 950 · #351822
:root {
  --brand-50: #FAF5F7;
  --brand-100: #F5EBEE;
  --brand-200: #EAD2DB;
  --brand-300: #DEB0C1;
  --brand-400: #CD88A1;
  --brand-500: #BD6182;
  --brand-600: #af496e;
  --brand-700: #903C5B;
  --brand-800: #733048;
  --brand-900: #542637;
  --brand-950: #351822;
  --brand: #af496e;
  --brand-ink: #ffffff;
}

Colors that work with #af496e

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F7
Tinted page background
Border#E7C5D2
Hairlines and dividers
Muted text#9B4B68
Captions on the surface
Accent#38945B
Second voice, not a rival
Dark variant#5A2639
Hover, pressed, headers
Light variant#F7EDF1
Selected rows, tints
Dark surface#24141A
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #af496e

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#49AF8A
Analogous left#AF49A1
Analogous right#AF5749
Split-complement 1#49AF57
Split-complement 2#49A1AF
Triadic 1#6EAF49
Triadic 2#496EAF
Tetradic#A1AF49

RGB percentages

Red68.6%
Green28.6%
Blue43.1%

CMYK percentages

Cyan0.0%
Magenta58.3%
Yellow37.1%
Key (black)31.4%

Color previews

#af496e text on a black background

contrast 4.00:1

Card sample

#af496e text on a white background

contrast 5.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #af496e;
Background color
Panel with #af496e background
background-color: #af496e;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #af496e;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 73, 110, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 73, 110, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af496e;
background: linear-gradient(135deg, #af496e, #AF6849);

Monochromatic scale

Palettes built from #af496e

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#af496e in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#af496e, answered

What color is #af496e?

#af496e is a balanced soft magenta / pink, closest to Medium Violet Red (ΔE2000 9.2). It sits at 338° on the hue wheel with 41% saturation and 49% lightness, which reads as warm.

What is the RGB value of #af496e?

rgb(175, 73, 110) — 175 red, 73 green and 110 blue out of 255, or 68.6% / 28.6% / 43.1% by channel.

Is #af496e a light or a dark color?

It is a dark color. Relative luminance is 0.1500 and perceived brightness is 46%, so white text on it reaches 5.25:1.

Should I use black or white text on #af496e?

White. It scores 5.25:1 against #af496e, versus 4.00:1 for black — AA at any size.

What is the complementary color of #af496e?

#49AF8A sits directly opposite on the wheel. Softer options are the split-complements #49AF57 and #49A1AF, which give the same contrast with far less vibration.

What colors go well with #af496e?

For interface work: #FAF4F7 as the surface, #E7C5D2 for borders, #9B4B68 for secondary text, #38945B as an accent and #5A2639 for hover and pressed states. For a palette, the analogous pair #AF49A1 and #AF5749 stays calm, while #49AF8A is the loudest partner.

What is #af496e in CMYK for printing?

cmyk(0%, 58%, 37%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #af496e warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF4949; nudged cooler, #B14795.

Work with #af496e in the Color Lab