Skip to content

#af5377

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

RGB
175, 83, 119
HSL
337°, 37%, 51%
CMYK
0, 53, 32, 31
Luminance
0.1663

At a glance

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

Hex
#af5377
Hue
337°
magenta / pink
Saturation
37%
soft
Lightness
51%
balanced
Brightness
69%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1663
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
4.85:1
Closest name
Medium Violet Red
ΔE2000 9.9
Where it sits
Hue337° of 360°
Saturation37%
Lightness51%
Temperature
Warm ← → Cool30% 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#af5377
RGBrgb(175, 83, 119)
HSLhsl(337, 37%, 51%)
CMYKcmyk(0%, 53%, 32%, 31%)
LABlab(47.8 41.5 -2.5)
LCHlch(47.8 41.6 356.5)
OKLCHoklch(0.566 0.126 357.2)
Decimal11490167
Display P3color(display-p3 0.686 0.325 0.467)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af5377 on white: 4.85:1
AA ✓ pass · AA-large · AAA
Aa
#af5377 on black: 4.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #616778
deuteranopia · #797875
tritanopia · #BB4D60

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af5377 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
#F4EBEF
#E8D3DC
#DBB2C2
#CA8CA4
#B86686
#af5377
#8B415E
#6F344B
#522939
#331923
Base = 600Lightest = 50 · #FAF5F7Darkest = 950 · #331923
:root {
  --brand-50: #FAF5F7;
  --brand-100: #F4EBEF;
  --brand-200: #E8D3DC;
  --brand-300: #DBB2C2;
  --brand-400: #CA8CA4;
  --brand-500: #B86686;
  --brand-600: #af5377;
  --brand-700: #8B415E;
  --brand-800: #6F344B;
  --brand-900: #522939;
  --brand-950: #331923;
  --brand: #af5377;
  --brand-ink: #ffffff;
}

Colors that work with #af5377

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#FAF5F7
Tinted page background
Border#E5C7D3
Hairlines and dividers
Muted text#9B4B6A
Captions on the surface
Accent#3D8F5B
Second voice, not a rival
Dark variant#57283B
Hover, pressed, headers
Light variant#F7EEF1
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 #af5377

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#53AF8B
Analogous left#AF53A5
Analogous right#AF5D53
Split-complement 1#53AF5D
Split-complement 2#53A5AF
Triadic 1#77AF53
Triadic 2#5377AF
Tetradic#A5AF53

RGB percentages

Red68.6%
Green32.5%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta52.6%
Yellow32.0%
Key (black)31.4%

Color previews

#af5377 text on a black background

contrast 4.33:1

Card sample

#af5377 text on a white background

contrast 4.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5377

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.

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

#af5377, answered

What color is #af5377?

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

What is the RGB value of #af5377?

rgb(175, 83, 119) — 175 red, 83 green and 119 blue out of 255, or 68.6% / 32.5% / 46.7% by channel.

Is #af5377 a light or a dark color?

It is a dark color. Relative luminance is 0.1663 and perceived brightness is 48%, so white text on it reaches 4.85:1.

Should I use black or white text on #af5377?

White. It scores 4.85:1 against #af5377, versus 4.33:1 for black — AA at any size.

What is the complementary color of #af5377?

#53AF8B sits directly opposite on the wheel. Softer options are the split-complements #53AF5D and #53A5AF, which give the same contrast with far less vibration.

What colors go well with #af5377?

For interface work: #FAF5F7 as the surface, #E5C7D3 for borders, #9B4B6A for secondary text, #3D8F5B as an accent and #57283B for hover and pressed states. For a palette, the analogous pair #AF53A5 and #AF5D53 stays calm, while #53AF8B is the loudest partner.

What is #af5377 in CMYK for printing?

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

Is #af5377 warm or cool?

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

Work with #af5377 in the Color Lab