Skip to content

#ecafb3

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

RGB
236, 175, 179
HSL
356°, 62%, 81%
CMYK
0, 26, 24, 8
Luminance
0.5175

Every format

HEX#ecafb3
RGBrgb(236, 175, 179)
HSLhsl(356, 62%, 81%)
CMYKcmyk(0%, 26%, 24%, 8%)
LABlab(77.1 22.8 6.7)
LCHlch(77.1 23.8 16.4)
OKLCHoklch(0.812 0.072 14.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green68.6%
Blue70.2%

CMYK percentages

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

Color previews

#ecafb3 text on a black background

contrast 11.35:1

Card sample

#ecafb3 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafb3 in the Color Lab