Skip to content

#ecafba

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

RGB
236, 175, 186
HSL
349°, 62%, 81%
CMYK
0, 26, 21, 8
Luminance
0.5204

Every format

HEX#ecafba
RGBrgb(236, 175, 186)
HSLhsl(349, 62%, 81%)
CMYKcmyk(0%, 26%, 21%, 8%)
LABlab(77.3 23.8 3.2)
LCHlch(77.3 24.0 7.6)
OKLCHoklch(0.814 0.072 6.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecafba on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#ecafba on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue72.9%

CMYK percentages

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

Color previews

#ecafba text on a black background

contrast 11.41:1

Card sample

#ecafba text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafba in the Color Lab