Skip to content

#ff7bac

a light, electric magenta / pink · warm · closest name: plum

RGB
255, 123, 172
HSL
338°, 100%, 74%
CMYK
0, 52, 33, 0
Luminance
0.3840

Every format

HEX#ff7bac
RGBrgb(255, 123, 172)
HSLhsl(338, 100%, 74%)
CMYKcmyk(0%, 52%, 33%, 0%)
LABlab(68.3 55.1 -1.9)
LCHlch(68.3 55.2 358.0)
OKLCHoklch(0.749 0.168 358.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff7bac on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#ff7bac on black: 8.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green48.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta51.8%
Yellow32.5%
Key (black)0.0%

Color previews

#ff7bac text on a black background

contrast 8.68:1

Card sample

#ff7bac text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff7bac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff7bac in the Color Lab