#fbafff
a light, electric magenta / pink · warm · closest name: plum
RGB
251, 175, 255
HSL
297°, 100%, 84%
CMYK
2, 31, 0, 0
Luminance
0.5839
Every format
| HEX | #fbafff |
| RGB | rgb(251, 175, 255) |
| HSL | hsl(297, 100%, 84%) |
| CMYK | cmyk(2%, 31%, 0%, 0%) |
| LAB | lab(81.0 40.3 -28.5) |
| LCH | lch(81.0 49.4 324.7) |
| OKLCH | oklch(0.852 0.135 325.0) |
Copy-ready code
/* CSS */
color: #fbafff;
background-color: #fbafff;
/* Tailwind (arbitrary) */
class="text-[#fbafff] bg-[#fbafff]"
/* SCSS */
$brand: #fbafff;
/* SwiftUI */
Color(red: 0.984, green: 0.686, blue: 1.000)
/* Android */
Color.parseColor("#fbafff")Accessibility — WCAG contrast
Aa
#fbafff on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fbafff on black: 12.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.4%
Green68.6%
Blue100.0%
CMYK percentages
Cyan1.6%
Magenta31.4%
Yellow0.0%
Key (black)0.0%
Color previews
#fbafff text on a black background
contrast 12.68:1
Card sample
#fbafff text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fbafff;
Background color
Panel with #fbafff background
background-color: #fbafff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fbafff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(251, 175, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 175, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fbafff; background: linear-gradient(135deg, #fbafff, #FFAFCE);