#f2b8cb
a light, vivid magenta / pink · warm · closest name: pink
RGB
242, 184, 203
HSL
340°, 69%, 84%
CMYK
0, 24, 16, 5
Luminance
0.5747
Every format
| HEX | #f2b8cb |
| RGB | rgb(242, 184, 203) |
| HSL | hsl(340, 69%, 84%) |
| CMYK | cmyk(0%, 24%, 16%, 5%) |
| LAB | lab(80.4 23.8 -1.4) |
| LCH | lch(80.4 23.8 356.6) |
| OKLCH | oklch(0.841 0.071 357.3) |
Copy-ready code
/* CSS */
color: #f2b8cb;
background-color: #f2b8cb;
/* Tailwind (arbitrary) */
class="text-[#f2b8cb] bg-[#f2b8cb]"
/* SCSS */
$brand: #f2b8cb;
/* SwiftUI */
Color(red: 0.949, green: 0.722, blue: 0.796)
/* Android */
Color.parseColor("#f2b8cb")Accessibility — WCAG contrast
Aa
#f2b8cb on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2b8cb on black: 12.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green72.2%
Blue79.6%
CMYK percentages
Cyan0.0%
Magenta24.0%
Yellow16.1%
Key (black)5.1%
Color previews
#f2b8cb text on a black background
contrast 12.49:1
Card sample
#f2b8cb text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2b8cb;
Background color
Panel with #f2b8cb background
background-color: #f2b8cb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2b8cb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 184, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 184, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2b8cb; background: linear-gradient(135deg, #f2b8cb, #F2CCB8);