#ffa6df
a light, electric magenta / pink · warm · closest name: plum
RGB
255, 166, 223
HSL
322°, 100%, 83%
CMYK
0, 35, 13, 0
Luminance
0.5386
Every format
| HEX | #ffa6df |
| RGB | rgb(255, 166, 223) |
| HSL | hsl(322, 100%, 83%) |
| CMYK | cmyk(0%, 35%, 13%, 0%) |
| LAB | lab(78.4 40.8 -15.2) |
| LCH | lch(78.4 43.5 339.6) |
| OKLCH | oklch(0.830 0.126 341.4) |
Copy-ready code
/* CSS */
color: #ffa6df;
background-color: #ffa6df;
/* Tailwind (arbitrary) */
class="text-[#ffa6df] bg-[#ffa6df]"
/* SCSS */
$brand: #ffa6df;
/* SwiftUI */
Color(red: 1.000, green: 0.651, blue: 0.875)
/* Android */
Color.parseColor("#ffa6df")Accessibility — WCAG contrast
Aa
#ffa6df on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffa6df on black: 11.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green65.1%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta34.9%
Yellow12.5%
Key (black)0.0%
Color previews
#ffa6df text on a black background
contrast 11.77:1
Card sample
#ffa6df text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffa6df;
Background color
Panel with #ffa6df background
background-color: #ffa6df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffa6df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 166, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 166, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffa6df; background: linear-gradient(135deg, #ffa6df, #FFA8A6);