#ba77af
a balanced, soft magenta / pink · neutral · closest name: Orchid
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.
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 |
| RGB | rgb(186, 119, 175) |
| HSL | hsl(310, 33%, 60%) |
| CMYK | cmyk(0%, 36%, 6%, 27%) |
| LAB | lab(58.7 34.9 -18.9) |
| LCH | lch(58.7 39.7 331.5) |
| OKLCH | oklch(0.658 0.112 332.9) |
| Decimal | 12220335 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ba77af
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #A477BA | Neighbour, quieter | |
| Analogous right | #BA778D | Neighbour, quieter | |
| Split-complement 1 | #8DBA77 | Contrast without the clash | |
| Split-complement 2 | #77BAA4 | Contrast without the clash | |
| Triadic 1 | #AFBA77 | Even thirds — balanced and loud | |
| Triadic 2 | #77AFBA | Even thirds — balanced and loud | |
| Tetradic | #BAA477 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ba77af text on a black background
contrast 6.35:1
#ba77af text on a white background
contrast 3.31:1
CSS3 live lab
The quick brown fox
color: #ba77af;
background-color: #ba77af;
Glowing headline
text-shadow: 2px 2px 8px #ba77af;
Soft neon halo
text-shadow: 0 0 14px rgba(186, 119, 175, 0.45);
box-shadow: 0 12px 32px -8px rgba(186, 119, 175, 0.45);
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.
Closest color with a full write-up: Orchid (#da70d6) — ΔE2000 8.5 away, with its history, psychology and brand usage.
#ba77af in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.