Skip to content

#b02fac

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

RGB
176, 47, 172
HSL
302°, 58%, 44%
CMYK
0, 73, 2, 31
Luminance
0.1424

Every format

HEX#b02fac
RGBrgb(176, 47, 172)
HSLhsl(302, 58%, 44%)
CMYKcmyk(0%, 73%, 2%, 31%)
LABlab(44.6 65.0 -39.3)
LCHlch(44.6 75.9 328.9)
OKLCHoklch(0.550 0.213 329.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b02fac on white: 5.46:1
AA ✓ pass · AA-large · AAA
Aa
#b02fac on black: 3.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green18.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta73.3%
Yellow2.3%
Key (black)31.0%

Color previews

#b02fac text on a black background

contrast 3.85:1

Card sample

#b02fac text on a white background

contrast 5.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b02fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b02fac in the Color Lab