Skip to content

#ecc2ba

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

RGB
236, 194, 186
HSL
10°, 57%, 83%
CMYK
0, 18, 21, 8
Luminance
0.5996

Every format

HEX#ecc2ba
RGBrgb(236, 194, 186)
HSLhsl(10, 57%, 83%)
CMYKcmyk(0%, 18%, 21%, 8%)
LABlab(81.8 13.7 9.7)
LCHlch(81.8 16.8 35.1)
OKLCHoklch(0.849 0.050 30.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc2ba on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ecc2ba on black: 12.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green76.1%
Blue72.9%

CMYK percentages

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

Color previews

#ecc2ba text on a black background

contrast 12.99:1

Card sample

#ecc2ba text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc2ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc2ba in the Color Lab