Skip to content

#bf2fac

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

RGB
191, 47, 172
HSL
308°, 61%, 47%
CMYK
0, 75, 10, 25
Luminance
0.1609

Every format

HEX#bf2fac
RGBrgb(191, 47, 172)
HSLhsl(308, 61%, 47%)
CMYKcmyk(0%, 75%, 10%, 25%)
LABlab(47.1 68.3 -35.1)
LCHlch(47.1 76.8 332.8)
OKLCHoklch(0.573 0.221 334.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2fac on white: 4.98:1
AA ✓ pass · AA-large · AAA
Aa
#bf2fac on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green18.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta75.4%
Yellow9.9%
Key (black)25.1%

Color previews

#bf2fac text on a black background

contrast 4.22:1

Card sample

#bf2fac text on a white background

contrast 4.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(191, 47, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 47, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bf2fac;
background: linear-gradient(135deg, #bf2fac, #BF2F4C);

Monochromatic scale

Palettes built from #bf2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2fac in the Color Lab