Skip to content

#d7abc8

a light, soft magenta / pink · warm · closest name: pink

RGB
215, 171, 200
HSL
321°, 36%, 76%
CMYK
0, 21, 7, 16
Luminance
0.4774

Every format

HEX#d7abc8
RGBrgb(215, 171, 200)
HSLhsl(321, 36%, 76%)
CMYKcmyk(0%, 21%, 7%, 16%)
LABlab(74.7 20.8 -8.6)
LCHlch(74.7 22.5 337.5)
OKLCHoklch(0.790 0.064 339.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7abc8 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#d7abc8 on black: 10.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green67.1%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta20.5%
Yellow7.0%
Key (black)15.7%

Color previews

#d7abc8 text on a black background

contrast 10.55:1

Card sample

#d7abc8 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 171, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 171, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7abc8;
background: linear-gradient(135deg, #d7abc8, #D7ABAB);

Monochromatic scale

Palettes built from #d7abc8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7abc8 in the Color Lab