Skip to content

#af50bc

a balanced, soft magenta / pink · neutral · closest name: Medium Orchid

RGB
175, 80, 188
HSL
293°, 45%, 53%
CMYK
7, 57, 0, 26
Luminance
0.1848

At a glance

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

Hex
#af50bc
Hue
293°
magenta / pink
Saturation
45%
soft
Lightness
53%
balanced
Brightness
74%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1848
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
4.70:1
Closest name
Medium Orchid
ΔE2000 4.3
Where it sits
Hue293° of 360°
Saturation45%
Lightness53%
Temperature
Warm ← → Cool54% cool

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

Every format

HEX#af50bc
RGBrgb(175, 80, 188)
HSLhsl(293, 45%, 53%)
CMYKcmyk(7%, 57%, 0%, 26%)
LABlab(50.1 54.2 -39.9)
LCHlch(50.1 67.3 323.6)
OKLCHoklch(0.593 0.183 322.7)
Decimal11489468
Display P3color(display-p3 0.686 0.314 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af50bc on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#af50bc on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3D70BF
deuteranopia · #5E7BB9
tritanopia · #B15F7E

Color scale — 50 to 950

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

#F9F5FA
#F4EAF5
#E8D1EB
#DAAEE0
#C785D0
#af50bc
#A444B1
#893993
#6D2D76
#502456
#321736
Base = 500Lightest = 50 · #F9F5FADarkest = 950 · #321736
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F4EAF5;
  --brand-200: #E8D1EB;
  --brand-300: #DAAEE0;
  --brand-400: #C785D0;
  --brand-500: #af50bc;
  --brand-600: #A444B1;
  --brand-700: #893993;
  --brand-800: #6D2D76;
  --brand-900: #502456;
  --brand-950: #321736;
  --brand: #af50bc;
  --brand-ink: #000000;
}

Colors that work with #af50bc

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#FAF4FA
Tinted page background
Border#E4C4E8
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#599834
Second voice, not a rival
Dark variant#55235C
Hover, pressed, headers
Light variant#F7EDF8
Selected rows, tints
Dark surface#221424
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 #af50bc

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#5DBC50
Analogous left#7950BC
Analogous right#BC5093
Split-complement 1#93BC50
Split-complement 2#50BC79
Triadic 1#BCAF50
Triadic 2#50BCAF
Tetradic#BC7950

RGB percentages

Red68.6%
Green31.4%
Blue73.7%

CMYK percentages

Cyan6.9%
Magenta57.4%
Yellow0.0%
Key (black)26.3%

Color previews

#af50bc text on a black background

contrast 4.70:1

Card sample

#af50bc text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af50bc

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.

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

#af50bc, answered

What color is #af50bc?

#af50bc is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 4.3). It sits at 293° on the hue wheel with 45% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #af50bc?

rgb(175, 80, 188) — 175 red, 80 green and 188 blue out of 255, or 68.6% / 31.4% / 73.7% by channel.

Is #af50bc a light or a dark color?

It is a mid-tone. Relative luminance is 0.1848 and perceived brightness is 51%, so black text on it reaches 4.70:1.

Should I use black or white text on #af50bc?

Black. It scores 4.70:1 against #af50bc, versus 4.47:1 for white — AA at any size.

What is the complementary color of #af50bc?

#5DBC50 sits directly opposite on the wheel. Softer options are the split-complements #93BC50 and #50BC79, which give the same contrast with far less vibration.

What colors go well with #af50bc?

For interface work: #FAF4FA as the surface, #E4C4E8 for borders, #914B9B for secondary text, #599834 as an accent and #55235C for hover and pressed states. For a palette, the analogous pair #7950BC and #BC5093 stays calm, while #5DBC50 is the loudest partner.

What is #af50bc in CMYK for printing?

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

Is #af50bc warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC50A1; nudged cooler, #874DBE.

Work with #af50bc in the Color Lab