Skip to content

#def6f2

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

RGB
222, 246, 242
HSL
170°, 57%, 92%
CMYK
10, 0, 2, 4
Luminance
0.8785

Every format

HEX#def6f2
RGBrgb(222, 246, 242)
HSLhsl(170, 57%, 92%)
CMYKcmyk(10%, 0%, 2%, 4%)
LABlab(95.1 -8.6 -0.8)
LCHlch(95.1 8.6 185.0)
OKLCHoklch(0.955 0.026 184.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def6f2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#def6f2 on black: 18.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.5%
Blue94.9%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow1.6%
Key (black)3.5%

Color previews

#def6f2 text on a black background

contrast 18.57:1

Card sample

#def6f2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def6f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def6f2 in the Color Lab