Skip to content

#d4afac

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

RGB
212, 175, 172
HSL
5°, 32%, 75%
CMYK
0, 18, 19, 17
Luminance
0.4764

Every format

HEX#d4afac
RGBrgb(212, 175, 172)
HSLhsl(5, 32%, 75%)
CMYKcmyk(0%, 18%, 19%, 17%)
LABlab(74.6 12.9 6.6)
LCHlch(74.6 14.5 27.0)
OKLCHoklch(0.786 0.043 23.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green68.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow18.9%
Key (black)16.9%

Color previews

#d4afac text on a black background

contrast 10.53:1

Card sample

#d4afac text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4afac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4afac in the Color Lab