Skip to content

#ecb4ba

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

RGB
236, 180, 186
HSL
354°, 60%, 82%
CMYK
0, 24, 21, 8
Luminance
0.5402

Every format

HEX#ecb4ba
RGBrgb(236, 180, 186)
HSLhsl(354, 60%, 82%)
CMYKcmyk(0%, 24%, 21%, 8%)
LABlab(78.5 21.2 4.8)
LCHlch(78.5 21.7 12.9)
OKLCHoklch(0.823 0.066 11.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecb4ba on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ecb4ba on black: 11.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green70.6%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta23.7%
Yellow21.2%
Key (black)7.5%

Color previews

#ecb4ba text on a black background

contrast 11.80:1

Card sample

#ecb4ba text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecb4ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecb4ba in the Color Lab