Skip to content

#ba77af

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

RGB
186, 119, 175
HSL
310°, 33%, 60%
CMYK
0, 36, 6, 27
Luminance
0.2673

At a glance

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

Hex
#ba77af
Hue
310°
magenta / pink
Saturation
33%
soft
Lightness
60%
balanced
Brightness
73%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2673
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
6.35:1
Closest name
Orchid
ΔE2000 8.5
Where it sits
Hue310° of 360°
Saturation33%
Lightness60%
Temperature
Warm ← → Cool45% 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#ba77af
RGBrgb(186, 119, 175)
HSLhsl(310, 33%, 60%)
CMYKcmyk(0%, 36%, 6%, 27%)
LABlab(58.7 34.9 -18.9)
LCHlch(58.7 39.7 331.5)
OKLCHoklch(0.658 0.112 332.9)
Decimal12220335
Display P3color(display-p3 0.729 0.467 0.686)

Copy-ready code

/* CSS */
color: #ba77af;
background-color: #ba77af;
/* Tailwind (arbitrary) */
class="text-[#ba77af] bg-[#ba77af]"
/* SCSS */
$brand: #ba77af;
/* SwiftUI */
Color(red: 0.729, green: 0.467, blue: 0.686)
/* Android */
Color.parseColor("#ba77af")
/* Flutter */
Color(0xFFBA77AF)
/* Python / OpenCV (BGR) */
(175, 119, 186)

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 #ba77af · 6.35:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.31:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.35:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ba77af as text scores 3.31:1 on white and 6.35:1 on black.

Accessibility — WCAG contrast

Aa
#ba77af on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#ba77af on black: 6.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7687B1
deuteranopia · #8791AD
tritanopia · #C07B8B

Color scale — 50 to 950

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

#F9F5F9
#F4ECF2
#E7D4E4
#D9B5D3
#C68FBD
#ba77af
#A25295
#87457C
#6C3763
#502B4A
#321B2E
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #321B2E
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F4ECF2;
  --brand-200: #E7D4E4;
  --brand-300: #D9B5D3;
  --brand-400: #C68FBD;
  --brand-500: #ba77af;
  --brand-600: #A25295;
  --brand-700: #87457C;
  --brand-800: #6C3763;
  --brand-900: #502B4A;
  --brand-950: #321B2E;
  --brand: #ba77af;
  --brand-ink: #000000;
}

Colors that work with #ba77af

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#FAF5F9
Tinted page background
Border#E4C9DF
Hairlines and dividers
Muted text#984D8C
Captions on the surface
Accent#478B41
Second voice, not a rival
Dark variant#552B4E
Hover, pressed, headers
Light variant#F6EEF5
Selected rows, tints
Dark surface#241422
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 #ba77af

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#77BA82
Analogous left#A477BA
Analogous right#BA778D
Split-complement 1#8DBA77
Split-complement 2#77BAA4
Triadic 1#AFBA77
Triadic 2#77AFBA
Tetradic#BAA477

RGB percentages

Red72.9%
Green46.7%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta36.0%
Yellow5.9%
Key (black)27.1%

Color previews

#ba77af text on a black background

contrast 6.35:1

Card sample

#ba77af text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba77af

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.

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

#ba77af, answered

What color is #ba77af?

#ba77af is a balanced soft magenta / pink, closest to Orchid (ΔE2000 8.5). It sits at 310° on the hue wheel with 33% saturation and 60% lightness, which reads as neutral.

What is the RGB value of #ba77af?

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

Is #ba77af a light or a dark color?

It is a mid-tone. Relative luminance is 0.2673 and perceived brightness is 58%, so black text on it reaches 6.35:1.

Should I use black or white text on #ba77af?

Black. It scores 6.35:1 against #ba77af, versus 3.31:1 for white — AA at any size.

What is the complementary color of #ba77af?

#77BA82 sits directly opposite on the wheel. Softer options are the split-complements #8DBA77 and #77BAA4, which give the same contrast with far less vibration.

What colors go well with #ba77af?

For interface work: #FAF5F9 as the surface, #E4C9DF for borders, #984D8C for secondary text, #478B41 as an accent and #552B4E for hover and pressed states. For a palette, the analogous pair #A477BA and #BA778D stays calm, while #77BA82 is the loudest partner.

What is #ba77af in CMYK for printing?

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

Is #ba77af warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA7796; nudged cooler, #AE75BC.

Work with #ba77af in the Color Lab