Skip to content

#ba3ccb

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

RGB
186, 60, 203
HSL
293°, 58%, 52%
CMYK
8, 70, 0, 20
Luminance
0.1798

At a glance

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

Hex
#ba3ccb
Hue
293°
magenta / pink
Saturation
58%
vivid
Lightness
52%
balanced
Brightness
80%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1798
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.60:1
Closest name
Medium Orchid
ΔE2000 4.8
Where it sits
Hue293° of 360°
Saturation58%
Lightness52%
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#ba3ccb
RGBrgb(186, 60, 203)
HSLhsl(293, 58%, 52%)
CMYKcmyk(8%, 70%, 0%, 20%)
LABlab(49.5 67.9 -49.5)
LCHlch(49.5 84.0 323.9)
OKLCHoklch(0.594 0.228 322.7)
Decimal12205259
Display P3color(display-p3 0.729 0.235 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba3ccb on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#ba3ccb on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006CCF
deuteranopia · #517AC8
tritanopia · #BD5580

Color scale — 50 to 950

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

#FAF4FB
#F5E9F7
#EBCDEF
#E0A6E7
#D07ADC
#C04ED0
#ba3ccb
#932BA1
#762281
#561D5E
#36123B
Base = 600Lightest = 50 · #FAF4FBDarkest = 950 · #36123B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E9F7;
  --brand-200: #EBCDEF;
  --brand-300: #E0A6E7;
  --brand-400: #D07ADC;
  --brand-500: #C04ED0;
  --brand-600: #ba3ccb;
  --brand-700: #932BA1;
  --brand-800: #762281;
  --brand-900: #561D5E;
  --brand-950: #36123B;
  --brand: #ba3ccb;
  --brand-ink: #000000;
}

Colors that work with #ba3ccb

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#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#55A527
Second voice, not a rival
Dark variant#5C1B65
Hover, pressed, headers
Light variant#F8EBFA
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 #ba3ccb

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#4DCB3C
Analogous left#733CCB
Analogous right#CB3C94
Split-complement 1#94CB3C
Split-complement 2#3CCB73
Triadic 1#CBBA3C
Triadic 2#3CCBBA
Tetradic#CB733C

RGB percentages

Red72.9%
Green23.5%
Blue79.6%

CMYK percentages

Cyan8.4%
Magenta70.4%
Yellow0.0%
Key (black)20.4%

Color previews

#ba3ccb text on a black background

contrast 4.60:1

Card sample

#ba3ccb text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba3ccb

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.

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

#ba3ccb, answered

What color is #ba3ccb?

#ba3ccb is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.8). It sits at 293° on the hue wheel with 58% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #ba3ccb?

rgb(186, 60, 203) — 186 red, 60 green and 203 blue out of 255, or 72.9% / 23.5% / 79.6% by channel.

Is #ba3ccb a light or a dark color?

It is a dark color. Relative luminance is 0.1798 and perceived brightness is 51%, so black text on it reaches 4.60:1.

Should I use black or white text on #ba3ccb?

Black. It scores 4.60:1 against #ba3ccb, versus 4.57:1 for white — AA at any size.

What is the complementary color of #ba3ccb?

#4DCB3C sits directly opposite on the wheel. Softer options are the split-complements #94CB3C and #3CCB73, which give the same contrast with far less vibration.

What colors go well with #ba3ccb?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #55A527 as an accent and #5C1B65 for hover and pressed states. For a palette, the analogous pair #733CCB and #CB3C94 stays calm, while #4DCB3C is the loudest partner.

What is #ba3ccb in CMYK for printing?

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

Is #ba3ccb 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 #CB3CA8; nudged cooler, #863ACE.

Work with #ba3ccb in the Color Lab