Skip to content

#b261af

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

RGB
178, 97, 175
HSL
302°, 35%, 54%
CMYK
0, 46, 2, 30
Luminance
0.2111

Every format

HEX#b261af
RGBrgb(178, 97, 175)
HSLhsl(302, 35%, 54%)
CMYKcmyk(0%, 46%, 2%, 30%)
LABlab(53.1 44.1 -27.7)
LCHlch(53.1 52.1 327.9)
OKLCHoklch(0.614 0.145 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b261af on white: 4.02:1
AA ✗ fail · AA-large · AAA
Aa
#b261af on black: 5.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green38.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta45.5%
Yellow1.7%
Key (black)30.2%

Color previews

#b261af text on a black background

contrast 5.22:1

Card sample

#b261af text on a white background

contrast 4.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 97, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 97, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b261af;
background: linear-gradient(135deg, #b261af, #B26179);

Monochromatic scale

Palettes built from #b261af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b261af in the Color Lab