#f0bcaf
a light, vivid red · warm · closest name: pink
RGB
240, 188, 175
HSL
12°, 68%, 81%
CMYK
0, 22, 27, 6
Luminance
0.5759
Every format
| HEX | #f0bcaf |
| RGB | rgb(240, 188, 175) |
| HSL | hsl(12, 68%, 81%) |
| CMYK | cmyk(0%, 22%, 27%, 6%) |
| LAB | lab(80.5 16.8 13.7) |
| LCH | lch(80.5 21.7 39.2) |
| OKLCH | oklch(0.838 0.063 34.4) |
Copy-ready code
/* CSS */
color: #f0bcaf;
background-color: #f0bcaf;
/* Tailwind (arbitrary) */
class="text-[#f0bcaf] bg-[#f0bcaf]"
/* SCSS */
$brand: #f0bcaf;
/* SwiftUI */
Color(red: 0.941, green: 0.737, blue: 0.686)
/* Android */
Color.parseColor("#f0bcaf")Accessibility — WCAG contrast
Aa
#f0bcaf on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0bcaf on black: 12.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green73.7%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta21.7%
Yellow27.1%
Key (black)5.9%
Color previews
#f0bcaf text on a black background
contrast 12.52:1
Card sample
#f0bcaf text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0bcaf;
Background color
Panel with #f0bcaf background
background-color: #f0bcaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0bcaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 188, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 188, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0bcaf; background: linear-gradient(135deg, #f0bcaf, #F0E7AF);