Skip to content

#eb787d

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

RGB
235, 120, 125
HSL
357°, 74%, 70%
CMYK
0, 49, 47, 8
Luminance
0.3258

Every format

HEX#eb787d
RGBrgb(235, 120, 125)
HSLhsl(357, 74%, 70%)
CMYKcmyk(0%, 49%, 47%, 8%)
LABlab(63.8 44.7 17.9)
LCHlch(63.8 48.2 21.9)
OKLCHoklch(0.705 0.142 18.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb787d on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#eb787d on black: 7.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green47.1%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta48.9%
Yellow46.8%
Key (black)7.8%

Color previews

#eb787d text on a black background

contrast 7.52:1

Card sample

#eb787d text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 120, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 120, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb787d;
background: linear-gradient(135deg, #eb787d, #EBC078);

Monochromatic scale

Palettes built from #eb787d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb787d in the Color Lab