Skip to content

#ffaff3

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

RGB
255, 175, 243
HSL
309°, 100%, 84%
CMYK
0, 31, 5, 0
Luminance
0.5839

Every format

HEX#ffaff3
RGBrgb(255, 175, 243)
HSLhsl(309, 100%, 84%)
CMYKcmyk(0%, 31%, 5%, 0%)
LABlab(81.0 39.4 -22.1)
LCHlch(81.0 45.2 330.8)
OKLCHoklch(0.851 0.127 332.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaff3 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ffaff3 on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow4.7%
Key (black)0.0%

Color previews

#ffaff3 text on a black background

contrast 12.68:1

Card sample

#ffaff3 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaff3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaff3 in the Color Lab