Skip to content

#ecafb2

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

RGB
236, 175, 178
HSL
357°, 62%, 81%
CMYK
0, 26, 25, 8
Luminance
0.5171

Every format

HEX#ecafb2
RGBrgb(236, 175, 178)
HSLhsl(357, 62%, 81%)
CMYKcmyk(0%, 26%, 25%, 8%)
LABlab(77.1 22.7 7.2)
LCHlch(77.1 23.8 17.7)
OKLCHoklch(0.811 0.072 15.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecafb2 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#ecafb2 on black: 11.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta25.8%
Yellow24.6%
Key (black)7.5%

Color previews

#ecafb2 text on a black background

contrast 11.34:1

Card sample

#ecafb2 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafb2 in the Color Lab