Skip to content

#af5d7a

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

RGB
175, 93, 122
HSL
339°, 34%, 53%
CMYK
0, 47, 30, 31
Luminance
0.1835

At a glance

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

Hex
#af5d7a
Hue
339°
magenta / pink
Saturation
34%
soft
Lightness
53%
balanced
Brightness
69%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1835
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
4.67:1
Closest name
Pale Violet Red
ΔE2000 10.6
Where it sits
Hue339° of 360°
Saturation34%
Lightness53%
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#af5d7a
RGBrgb(175, 93, 122)
HSLhsl(339, 34%, 53%)
CMYKcmyk(0%, 47%, 30%, 31%)
LABlab(49.9 36.7 -1.2)
LCHlch(49.9 36.7 358.1)
OKLCHoklch(0.583 0.111 358.6)
Decimal11492730
Display P3color(display-p3 0.686 0.365 0.478)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af5d7a on white: 4.50:1
AA ✓ pass · AA-large · AAA
Aa
#af5d7a on black: 4.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #696E7B
deuteranopia · #7E7C78
tritanopia · #BB5867

Color scale — 50 to 950

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

#F9F5F7
#F4ECEF
#E8D4DB
#DAB4C1
#C78EA2
#af5d7a
#A4516E
#89435C
#6D3649
#502A38
#321A23
Base = 500Lightest = 50 · #F9F5F7Darkest = 950 · #321A23
:root {
  --brand-50: #F9F5F7;
  --brand-100: #F4ECEF;
  --brand-200: #E8D4DB;
  --brand-300: #DAB4C1;
  --brand-400: #C78EA2;
  --brand-500: #af5d7a;
  --brand-600: #A4516E;
  --brand-700: #89435C;
  --brand-800: #6D3649;
  --brand-900: #502A38;
  --brand-950: #321A23;
  --brand: #af5d7a;
  --brand-ink: #000000;
}

Colors that work with #af5d7a

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

Text on it#000000
Black wins here
Surface#FAF5F7
Tinted page background
Border#E4C8D2
Hairlines and dividers
Muted text#9A4C67
Captions on the surface
Accent#3F8D5E
Second voice, not a rival
Dark variant#552A39
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 #af5d7a

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#5DAF92
Analogous left#AF5DA3
Analogous right#AF695D
Split-complement 1#5DAF69
Split-complement 2#5DA3AF
Triadic 1#7AAF5D
Triadic 2#5D7AAF
Tetradic#A3AF5D

RGB percentages

Red68.6%
Green36.5%
Blue47.8%

CMYK percentages

Cyan0.0%
Magenta46.9%
Yellow30.3%
Key (black)31.4%

Color previews

#af5d7a text on a black background

contrast 4.67:1

Card sample

#af5d7a text on a white background

contrast 4.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5d7a

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.

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

#af5d7a, answered

What color is #af5d7a?

#af5d7a is a balanced soft magenta / pink, closest to Pale Violet Red (ΔE2000 10.6). It sits at 339° on the hue wheel with 34% saturation and 53% lightness, which reads as warm.

What is the RGB value of #af5d7a?

rgb(175, 93, 122) — 175 red, 93 green and 122 blue out of 255, or 68.6% / 36.5% / 47.8% by channel.

Is #af5d7a a light or a dark color?

It is a mid-tone. Relative luminance is 0.1835 and perceived brightness is 49%, so black text on it reaches 4.67:1.

Should I use black or white text on #af5d7a?

Black. It scores 4.67:1 against #af5d7a, versus 4.50:1 for white — AA at any size.

What is the complementary color of #af5d7a?

#5DAF92 sits directly opposite on the wheel. Softer options are the split-complements #5DAF69 and #5DA3AF, which give the same contrast with far less vibration.

What colors go well with #af5d7a?

For interface work: #FAF5F7 as the surface, #E4C8D2 for borders, #9A4C67 for secondary text, #3F8D5E as an accent and #552A39 for hover and pressed states. For a palette, the analogous pair #AF5DA3 and #AF695D stays calm, while #5DAF92 is the loudest partner.

What is #af5d7a in CMYK for printing?

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

Is #af5d7a 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 #AF5E5D; nudged cooler, #B15A99.

Work with #af5d7a in the Color Lab