Skip to content

#ba4fcc

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

RGB
186, 79, 204
HSL
291°, 55%, 56%
CMYK
9, 61, 0, 20
Luminance
0.2039

Every format

HEX#ba4fcc
RGBrgb(186, 79, 204)
HSLhsl(291, 55%, 56%)
CMYKcmyk(9%, 61%, 0%, 20%)
LABlab(52.3 60.4 -45.6)
LCHlch(52.3 75.7 323.0)
OKLCHoklch(0.614 0.204 321.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba4fcc on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#ba4fcc on black: 5.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green31.0%
Blue80.0%

CMYK percentages

Cyan8.8%
Magenta61.3%
Yellow0.0%
Key (black)20.0%

Color previews

#ba4fcc text on a black background

contrast 5.08:1

Card sample

#ba4fcc text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba4fcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba4fcc in the Color Lab