Skip to content

#bafefc

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

RGB
186, 254, 252
HSL
178°, 97%, 86%
CMYK
27, 0, 1, 0
Luminance
0.8835

Every format

HEX#bafefc
RGBrgb(186, 254, 252)
HSLhsl(178, 97%, 86%)
CMYKcmyk(27%, 0%, 1%, 0%)
LABlab(95.3 -21.3 -5.8)
LCHlch(95.3 22.1 195.3)
OKLCHoklch(0.952 0.067 193.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafefc on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#bafefc on black: 18.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.6%
Blue98.8%

CMYK percentages

Cyan26.8%
Magenta0.0%
Yellow0.8%
Key (black)0.4%

Color previews

#bafefc text on a black background

contrast 18.67:1

Card sample

#bafefc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafefc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafefc in the Color Lab