#ba6487
a balanced, soft magenta / pink · warm · closest name: Pale Violet Red
At a glance
Every number on this page in one read: what #ba6487 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #ba6487 |
| RGB | rgb(186, 100, 135) |
| HSL | hsl(336, 38%, 56%) |
| CMYK | cmyk(0%, 46%, 27%, 27%) |
| LAB | lab(53.3 38.7 -3.8) |
| LCH | lch(53.3 38.9 354.4) |
| OKLCH | oklch(0.613 0.117 355.3) |
| Decimal | 12215431 |
| Display P3 | color(display-p3 0.729 0.392 0.529) |
Copy-ready code
/* CSS */
color: #ba6487;
background-color: #ba6487;
/* Tailwind (arbitrary) */
class="text-[#ba6487] bg-[#ba6487]"
/* SCSS */
$brand: #ba6487;
/* SwiftUI */
Color(red: 0.729, green: 0.392, blue: 0.529)
/* Android */
Color.parseColor("#ba6487")
/* Flutter */
Color(0xFFBA6487)
/* Python / OpenCV (BGR) */
(135, 100, 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. #ba6487 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: #FAF5F7;
--brand-100: #F4EBEF;
--brand-200: #E9D3DC;
--brand-300: #DCB1C3;
--brand-400: #CB8BA5;
--brand-500: #ba6487;
--brand-600: #A94B72;
--brand-700: #8D3F5F;
--brand-800: #71324C;
--brand-900: #532839;
--brand-950: #341924;
--brand: #ba6487;
--brand-ink: #000000;
}Colors that work with #ba6487
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 #ba6487
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 | #64BA97 | Directly opposite — maximum tension | |
| Analogous left | #BA64B2 | Neighbour, quieter | |
| Analogous right | #BA6C64 | Neighbour, quieter | |
| Split-complement 1 | #64BA6C | Contrast without the clash | |
| Split-complement 2 | #64B2BA | Contrast without the clash | |
| Triadic 1 | #87BA64 | Even thirds — balanced and loud | |
| Triadic 2 | #6487BA | Even thirds — balanced and loud | |
| Tetradic | #B2BA64 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ba6487 text on a black background
contrast 5.26:1
#ba6487 text on a white background
contrast 3.99:1
CSS3 live lab
The quick brown fox
color: #ba6487;
background-color: #ba6487;
Glowing headline
text-shadow: 2px 2px 8px #ba6487;
Soft neon halo
text-shadow: 0 0 14px rgba(186, 100, 135, 0.45);
box-shadow: 0 12px 32px -8px rgba(186, 100, 135, 0.45);
border: 3px solid #ba6487; background: linear-gradient(135deg, #ba6487, #BA7A64);
Monochromatic scale
Palettes built from #ba6487
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: Mulberry (#c54b8c) — ΔE2000 6.6 away, with its history, psychology and brand usage.
#ba6487 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.
#ba6487, answered
What color is #ba6487?
#ba6487 is a balanced soft magenta / pink, closest to Pale Violet Red (ΔE2000 7.5). It sits at 336° on the hue wheel with 38% saturation and 56% lightness, which reads as warm.
What is the RGB value of #ba6487?
rgb(186, 100, 135) — 186 red, 100 green and 135 blue out of 255, or 72.9% / 39.2% / 52.9% by channel.
Is #ba6487 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2130 and perceived brightness is 53%, so black text on it reaches 5.26:1.
Should I use black or white text on #ba6487?
Black. It scores 5.26:1 against #ba6487, versus 3.99:1 for white — AA at any size.
What is the complementary color of #ba6487?
#64BA97 sits directly opposite on the wheel. Softer options are the split-complements #64BA6C and #64B2BA, which give the same contrast with far less vibration.
What colors go well with #ba6487?
For interface work: #FAF4F7 as the surface, #E6C7D3 for borders, #9B4B6B for secondary text, #3B9158 as an accent and #58273B for hover and pressed states. For a palette, the analogous pair #BA64B2 and #BA6C64 stays calm, while #64BA97 is the loudest partner.
What is #ba6487 in CMYK for printing?
cmyk(0%, 46%, 27%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #ba6487 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 #BA6468; nudged cooler, #BC62A8.