Skip to content

#ba49cf

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

RGB
186, 73, 207
HSL
291°, 58%, 55%
CMYK
10, 65, 0, 19
Luminance
0.1971

Every format

HEX#ba49cf
RGBrgb(186, 73, 207)
HSLhsl(291, 58%, 55%)
CMYKcmyk(10%, 65%, 0%, 19%)
LABlab(51.5 63.6 -48.5)
LCHlch(51.5 80.0 322.7)
OKLCHoklch(0.609 0.215 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba49cf on white: 4.25:1
AA ✗ fail · AA-large · AAA
Aa
#ba49cf on black: 4.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green28.6%
Blue81.2%

CMYK percentages

Cyan10.1%
Magenta64.7%
Yellow0.0%
Key (black)18.8%

Color previews

#ba49cf text on a black background

contrast 4.94:1

Card sample

#ba49cf text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba49cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba49cf in the Color Lab