#f2afbc
a light, vivid red · warm · closest name: pink
RGB
242, 175, 188
HSL
348°, 72%, 82%
CMYK
0, 28, 22, 5
Luminance
0.5317
Every format
| HEX | #f2afbc |
| RGB | rgb(242, 175, 188) |
| HSL | hsl(348, 72%, 82%) |
| CMYK | cmyk(0%, 28%, 22%, 5%) |
| LAB | lab(78.0 26.3 3.1) |
| LCH | lch(78.0 26.5 6.8) |
| OKLCH | oklch(0.820 0.080 6.1) |
Copy-ready code
/* CSS */
color: #f2afbc;
background-color: #f2afbc;
/* Tailwind (arbitrary) */
class="text-[#f2afbc] bg-[#f2afbc]"
/* SCSS */
$brand: #f2afbc;
/* SwiftUI */
Color(red: 0.949, green: 0.686, blue: 0.737)
/* Android */
Color.parseColor("#f2afbc")Accessibility — WCAG contrast
Aa
#f2afbc on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2afbc on black: 11.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green68.6%
Blue73.7%
CMYK percentages
Cyan0.0%
Magenta27.7%
Yellow22.3%
Key (black)5.1%
Color previews
#f2afbc text on a black background
contrast 11.63:1
Card sample
#f2afbc text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2afbc;
Background color
Panel with #f2afbc background
background-color: #f2afbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2afbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 175, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 175, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2afbc; background: linear-gradient(135deg, #f2afbc, #F2CFAF);