Skip to content

#d2afac

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

RGB
210, 175, 172
HSL
5°, 30%, 75%
CMYK
0, 17, 18, 18
Luminance
0.4734

Every format

HEX#d2afac
RGBrgb(210, 175, 172)
HSLhsl(5, 30%, 75%)
CMYKcmyk(0%, 17%, 18%, 18%)
LABlab(74.4 12.2 6.3)
LCHlch(74.4 13.7 27.3)
OKLCHoklch(0.784 0.041 23.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2afac on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#d2afac on black: 10.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green68.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow18.1%
Key (black)17.6%

Color previews

#d2afac text on a black background

contrast 10.47:1

Card sample

#d2afac text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2afac in the Color Lab