Skip to content

#afb7d4

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

RGB
175, 183, 212
HSL
227°, 30%, 76%
CMYK
18, 14, 0, 17
Luminance
0.4773

Every format

HEX#afb7d4
RGBrgb(175, 183, 212)
HSLhsl(227, 30%, 76%)
CMYKcmyk(18%, 14%, 0%, 17%)
LABlab(74.7 3.2 -15.5)
LCHlch(74.7 15.8 281.7)
OKLCHoklch(0.783 0.042 273.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green71.8%
Blue83.1%

CMYK percentages

Cyan17.5%
Magenta13.7%
Yellow0.0%
Key (black)16.9%

Color previews

#afb7d4 text on a black background

contrast 10.55:1

Card sample

#afb7d4 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb7d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb7d4 in the Color Lab