Skip to content

#d2fff8

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

RGB
210, 255, 248
HSL
171°, 100%, 91%
CMYK
18, 0, 3, 0
Luminance
0.9200

Every format

HEX#d2fff8
RGBrgb(210, 255, 248)
HSLhsl(171, 100%, 91%)
CMYKcmyk(18%, 0%, 3%, 0%)
LABlab(96.8 -15.6 -1.4)
LCHlch(96.8 15.7 185.2)
OKLCHoklch(0.967 0.047 184.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2fff8 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#d2fff8 on black: 19.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green100.0%
Blue97.3%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow2.7%
Key (black)0.0%

Color previews

#d2fff8 text on a black background

contrast 19.40:1

Card sample

#d2fff8 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fff8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fff8 in the Color Lab