#f2baca
a light, vivid magenta / pink · warm · closest name: pink
RGB
242, 186, 202
HSL
343°, 68%, 84%
CMYK
0, 23, 17, 5
Luminance
0.5826
Every format
| HEX | #f2baca |
| RGB | rgb(242, 186, 202) |
| HSL | hsl(343, 68%, 84%) |
| CMYK | cmyk(0%, 23%, 17%, 5%) |
| LAB | lab(80.9 22.5 -0.2) |
| LCH | lch(80.9 22.5 359.4) |
| OKLCH | oklch(0.844 0.068 359.8) |
Copy-ready code
/* CSS */
color: #f2baca;
background-color: #f2baca;
/* Tailwind (arbitrary) */
class="text-[#f2baca] bg-[#f2baca]"
/* SCSS */
$brand: #f2baca;
/* SwiftUI */
Color(red: 0.949, green: 0.729, blue: 0.792)
/* Android */
Color.parseColor("#f2baca")Accessibility — WCAG contrast
Aa
#f2baca on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2baca on black: 12.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green72.9%
Blue79.2%
CMYK percentages
Cyan0.0%
Magenta23.1%
Yellow16.5%
Key (black)5.1%
Color previews
#f2baca text on a black background
contrast 12.65:1
Card sample
#f2baca text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2baca;
Background color
Panel with #f2baca background
background-color: #f2baca;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2baca;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 186, 202, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 186, 202, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2baca; background: linear-gradient(135deg, #f2baca, #F2CFBA);