Skip to content

#e4afbc

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

RGB
228, 175, 188
HSL
345°, 50%, 79%
CMYK
0, 23, 18, 11
Luminance
0.5078

Every format

HEX#e4afbc
RGBrgb(228, 175, 188)
HSLhsl(345, 50%, 79%)
CMYKcmyk(0%, 23%, 18%, 11%)
LABlab(76.5 21.3 0.9)
LCHlch(76.5 21.3 2.3)
OKLCHoklch(0.806 0.064 2.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4afbc on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#e4afbc on black: 11.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green68.6%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta23.2%
Yellow17.5%
Key (black)10.6%

Color previews

#e4afbc text on a black background

contrast 11.16:1

Card sample

#e4afbc text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4afbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4afbc in the Color Lab