Skip to content

#d2fef8

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

RGB
210, 254, 248
HSL
172°, 96%, 91%
CMYK
17, 0, 2, 0
Luminance
0.9136

Every format

HEX#d2fef8
RGBrgb(210, 254, 248)
HSLhsl(172, 96%, 91%)
CMYKcmyk(17%, 0%, 2%, 0%)
LABlab(96.6 -15.1 -1.8)
LCHlch(96.6 15.3 186.8)
OKLCHoklch(0.965 0.046 186.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green99.6%
Blue97.3%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow2.4%
Key (black)0.4%

Color previews

#d2fef8 text on a black background

contrast 19.27:1

Card sample

#d2fef8 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 254, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 254, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2fef8;
background: linear-gradient(135deg, #d2fef8, #D2E7FE);

Monochromatic scale

Palettes built from #d2fef8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fef8 in the Color Lab