Skip to content

#ba3dc2

a balanced, vivid magenta / pink · warm · closest name: orchid

RGB
186, 61, 194
HSL
296°, 52%, 50%
CMYK
4, 69, 0, 24
Luminance
0.1767

Every format

HEX#ba3dc2
RGBrgb(186, 61, 194)
HSLhsl(296, 52%, 50%)
CMYKcmyk(4%, 69%, 0%, 24%)
LABlab(49.1 66.0 -44.9)
LCHlch(49.1 79.8 325.8)
OKLCHoklch(0.590 0.219 325.3)

Copy-ready code

/* CSS */
color: #ba3dc2;
background-color: #ba3dc2;
/* Tailwind (arbitrary) */
class="text-[#ba3dc2] bg-[#ba3dc2]"
/* SCSS */
$brand: #ba3dc2;
/* SwiftUI */
Color(red: 0.729, green: 0.239, blue: 0.761)
/* Android */
Color.parseColor("#ba3dc2")

Accessibility — WCAG contrast

Aa
#ba3dc2 on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#ba3dc2 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green23.9%
Blue76.1%

CMYK percentages

Cyan4.1%
Magenta68.6%
Yellow0.0%
Key (black)23.9%

Color previews

#ba3dc2 text on a black background

contrast 4.53:1

Card sample

#ba3dc2 text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba3dc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba3dc2 in the Color Lab