Skip to content

#af727f

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

RGB
175, 114, 127
HSL
347°, 28%, 57%
CMYK
0, 35, 27, 31
Luminance
0.2268

Every format

HEX#af727f
RGBrgb(175, 114, 127)
HSLhsl(347, 28%, 57%)
CMYKcmyk(0%, 35%, 27%, 31%)
LABlab(54.7 25.9 2.9)
LCHlch(54.7 26.0 6.3)
OKLCHoklch(0.620 0.079 5.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af727f on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#af727f on black: 5.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green44.7%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta34.9%
Yellow27.4%
Key (black)31.4%

Color previews

#af727f text on a black background

contrast 5.54:1

Card sample

#af727f text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af727f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af727f in the Color Lab