Skip to content

#ffbef2

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

RGB
255, 190, 242
HSL
312°, 100%, 87%
CMYK
0, 26, 5, 0
Luminance
0.6450

Every format

HEX#ffbef2
RGBrgb(255, 190, 242)
HSLhsl(312, 100%, 87%)
CMYKcmyk(0%, 26%, 5%, 0%)
LABlab(84.2 31.4 -16.6)
LCHlch(84.2 35.5 332.2)
OKLCHoklch(0.876 0.100 333.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbef2 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#ffbef2 on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green74.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta25.5%
Yellow5.1%
Key (black)0.0%

Color previews

#ffbef2 text on a black background

contrast 13.90:1

Card sample

#ffbef2 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbef2 in the Color Lab