Skip to content

#ecc0ba

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

RGB
236, 192, 186
HSL
7°, 57%, 83%
CMYK
0, 19, 21, 8
Luminance
0.5908

Every format

HEX#ecc0ba
RGBrgb(236, 192, 186)
HSLhsl(7, 57%, 83%)
CMYKcmyk(0%, 19%, 21%, 8%)
LABlab(81.3 14.8 9.0)
LCHlch(81.3 17.3 31.2)
OKLCHoklch(0.845 0.051 27.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc0ba on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#ecc0ba on black: 12.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green75.3%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta18.6%
Yellow21.2%
Key (black)7.5%

Color previews

#ecc0ba text on a black background

contrast 12.82:1

Card sample

#ecc0ba text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc0ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc0ba in the Color Lab