Skip to content

#ecafab

a light, vivid red · warm · closest name: pink

RGB
236, 175, 171
HSL
4°, 63%, 80%
CMYK
0, 26, 28, 8
Luminance
0.5143

Every format

HEX#ecafab
RGBrgb(236, 175, 171)
HSLhsl(4, 63%, 80%)
CMYKcmyk(0%, 26%, 28%, 8%)
LABlab(76.9 21.7 10.8)
LCHlch(76.9 24.3 26.4)
OKLCHoklch(0.809 0.072 23.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecafab on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ecafab on black: 11.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta25.8%
Yellow27.5%
Key (black)7.5%

Color previews

#ecafab text on a black background

contrast 11.29:1

Card sample

#ecafab text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 175, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 175, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecafab;
background: linear-gradient(135deg, #ecafab, #ECDAAB);

Monochromatic scale

Palettes built from #ecafab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafab in the Color Lab