Skip to content

#af887c

a balanced, soft red · warm · closest name: gray

RGB
175, 136, 124
HSL
14°, 24%, 59%
CMYK
0, 22, 29, 31
Luminance
0.2818

Every format

HEX#af887c
RGBrgb(175, 136, 124)
HSLhsl(14, 24%, 59%)
CMYKcmyk(0%, 22%, 29%, 31%)
LABlab(60.0 13.1 12.2)
LCHlch(60.0 17.9 42.9)
OKLCHoklch(0.661 0.051 37.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af887c on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#af887c on black: 6.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green53.3%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta22.3%
Yellow29.1%
Key (black)31.4%

Color previews

#af887c text on a black background

contrast 6.64:1

Card sample

#af887c text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af887c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af887c in the Color Lab