Skip to content

#f0f6f6

a pale, soft cyan · cool · closest name: white

RGB
240, 246, 246
HSL
180°, 25%, 95%
CMYK
2, 0, 0, 4
Luminance
0.9109

Every format

HEX#f0f6f6
RGBrgb(240, 246, 246)
HSLhsl(180, 25%, 95%)
CMYKcmyk(2%, 0%, 0%, 4%)
LABlab(96.5 -2.0 -0.7)
LCHlch(96.5 2.1 199.2)
OKLCHoklch(0.969 0.006 197.1)

Copy-ready code

/* CSS */
color: #f0f6f6;
background-color: #f0f6f6;
/* Tailwind (arbitrary) */
class="text-[#f0f6f6] bg-[#f0f6f6]"
/* SCSS */
$brand: #f0f6f6;
/* SwiftUI */
Color(red: 0.941, green: 0.965, blue: 0.965)
/* Android */
Color.parseColor("#f0f6f6")

Accessibility — WCAG contrast

Aa
#f0f6f6 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f0f6f6 on black: 19.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green96.5%
Blue96.5%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow0.0%
Key (black)3.5%

Color previews

#f0f6f6 text on a black background

contrast 19.22:1

Card sample

#f0f6f6 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f0f6f6;
Background color
Panel with #f0f6f6 background
background-color: #f0f6f6;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f0f6f6;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(240, 246, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 246, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0f6f6;
background: linear-gradient(135deg, #f0f6f6, #F0F2F6);

Monochromatic scale

Palettes built from #f0f6f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f6f6 in the Color Lab