Skip to content

#ff9bf0

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

RGB
255, 155, 240
HSL
309°, 100%, 80%
CMYK
0, 39, 6, 0
Luminance
0.5099

Every format

HEX#ff9bf0
RGBrgb(255, 155, 240)
HSLhsl(309, 100%, 80%)
CMYKcmyk(0%, 39%, 6%, 0%)
LABlab(76.7 49.2 -27.0)
LCHlch(76.7 56.1 331.3)
OKLCHoklch(0.819 0.158 332.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff9bf0 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#ff9bf0 on black: 11.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green60.8%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta39.2%
Yellow5.9%
Key (black)0.0%

Color previews

#ff9bf0 text on a black background

contrast 11.20:1

Card sample

#ff9bf0 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff9bf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff9bf0 in the Color Lab