#f2beaf
a light, vivid red · warm · closest name: pink
RGB
242, 190, 175
HSL
13°, 72%, 82%
CMYK
0, 22, 28, 5
Luminance
0.5880
Every format
| HEX | #f2beaf |
| RGB | rgb(242, 190, 175) |
| HSL | hsl(13, 72%, 82%) |
| CMYK | cmyk(0%, 22%, 28%, 5%) |
| LAB | lab(81.2 16.5 14.7) |
| LCH | lch(81.2 22.1 41.7) |
| OKLCH | oklch(0.844 0.064 36.7) |
Copy-ready code
/* CSS */
color: #f2beaf;
background-color: #f2beaf;
/* Tailwind (arbitrary) */
class="text-[#f2beaf] bg-[#f2beaf]"
/* SCSS */
$brand: #f2beaf;
/* SwiftUI */
Color(red: 0.949, green: 0.745, blue: 0.686)
/* Android */
Color.parseColor("#f2beaf")Accessibility — WCAG contrast
Aa
#f2beaf on white: 1.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f2beaf on black: 12.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green74.5%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta21.5%
Yellow27.7%
Key (black)5.1%
Color previews
#f2beaf text on a black background
contrast 12.76:1
Card sample
#f2beaf text on a white background
contrast 1.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f2beaf;
Background color
Panel with #f2beaf background
background-color: #f2beaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f2beaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 190, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 190, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2beaf; background: linear-gradient(135deg, #f2beaf, #F2EBAF);