Skip to content

#af5693

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

RGB
175, 86, 147
HSL
319°, 36%, 51%
CMYK
0, 51, 16, 31
Luminance
0.1788

At a glance

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

Hex
#af5693
Hue
319°
magenta / pink
Saturation
36%
soft
Lightness
51%
balanced
Brightness
69%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1788
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
4.59:1
Closest name
Medium Violet Red
ΔE2000 9.1
Where it sits
Hue319° of 360°
Saturation36%
Lightness51%
Temperature
Warm ← → Cool40% 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#af5693
RGBrgb(175, 86, 147)
HSLhsl(319, 36%, 51%)
CMYKcmyk(0%, 51%, 16%, 31%)
LABlab(49.4 44.0 -17.0)
LCHlch(49.4 47.2 338.9)
OKLCHoklch(0.581 0.138 340.7)
Decimal11490963
Display P3color(display-p3 0.686 0.337 0.576)

Copy-ready code

/* CSS */
color: #af5693;
background-color: #af5693;
/* Tailwind (arbitrary) */
class="text-[#af5693] bg-[#af5693]"
/* SCSS */
$brand: #af5693;
/* SwiftUI */
Color(red: 0.686, green: 0.337, blue: 0.576)
/* Android */
Color.parseColor("#af5693")
/* Flutter */
Color(0xFFAF5693)
/* Python / OpenCV (BGR) */
(147, 86, 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 #af5693 · 4.59:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.59:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.58:1
AA pass · AA large pass · AAA fail
Reading the other direction: #af5693 as text scores 4.59:1 on white and 4.58:1 on black.

Accessibility — WCAG contrast

Aa
#af5693 on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#af5693 on black: 4.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B6C95
deuteranopia · #737B91
tritanopia · #B8576E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af5693 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.

#F9F5F8
#F4EBF1
#E8D3E2
#DBB3CE
#C98DB6
#B7679E
#af5693
#8A4273
#6F345C
#512945
#331A2B
Base = 600Lightest = 50 · #F9F5F8Darkest = 950 · #331A2B
:root {
  --brand-50: #F9F5F8;
  --brand-100: #F4EBF1;
  --brand-200: #E8D3E2;
  --brand-300: #DBB3CE;
  --brand-400: #C98DB6;
  --brand-500: #B7679E;
  --brand-600: #af5693;
  --brand-700: #8A4273;
  --brand-800: #6F345C;
  --brand-900: #512945;
  --brand-950: #331A2B;
  --brand: #af5693;
  --brand-ink: #ffffff;
}

Colors that work with #af5693

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#FAF5F8
Tinted page background
Border#E5C8DC
Hairlines and dividers
Muted text#9B4B82
Captions on the surface
Accent#3D8F43
Second voice, not a rival
Dark variant#572948
Hover, pressed, headers
Light variant#F7EEF4
Selected rows, tints
Dark surface#24141F
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 #af5693

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#56AF72
Analogous left#9F56AF
Analogous right#AF5667
Split-complement 1#67AF56
Split-complement 2#56AF9F
Triadic 1#93AF56
Triadic 2#5693AF
Tetradic#AF9F56

RGB percentages

Red68.6%
Green33.7%
Blue57.6%

CMYK percentages

Cyan0.0%
Magenta50.9%
Yellow16.0%
Key (black)31.4%

Color previews

#af5693 text on a black background

contrast 4.58:1

Card sample

#af5693 text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5693

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.

#af5693 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.

#af5693, answered

What color is #af5693?

#af5693 is a balanced soft magenta / pink, closest to Medium Violet Red (ΔE2000 9.1). It sits at 319° on the hue wheel with 36% saturation and 51% lightness, which reads as warm.

What is the RGB value of #af5693?

rgb(175, 86, 147) — 175 red, 86 green and 147 blue out of 255, or 68.6% / 33.7% / 57.6% by channel.

Is #af5693 a light or a dark color?

It is a dark color. Relative luminance is 0.1788 and perceived brightness is 50%, so white text on it reaches 4.59:1.

Should I use black or white text on #af5693?

White. It scores 4.59:1 against #af5693, versus 4.58:1 for black — AA at any size.

What is the complementary color of #af5693?

#56AF72 sits directly opposite on the wheel. Softer options are the split-complements #67AF56 and #56AF9F, which give the same contrast with far less vibration.

What colors go well with #af5693?

For interface work: #FAF5F8 as the surface, #E5C8DC for borders, #9B4B82 for secondary text, #3D8F43 as an accent and #572948 for hover and pressed states. For a palette, the analogous pair #9F56AF and #AF5667 stays calm, while #56AF72 is the loudest partner.

What is #af5693 in CMYK for printing?

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

Is #af5693 warm or cool?

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

Work with #af5693 in the Color Lab