Skip to content

#afb4d2

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

RGB
175, 180, 210
HSL
231°, 28%, 76%
CMYK
17, 14, 0, 18
Luminance
0.4641

Every format

HEX#afb4d2
RGBrgb(175, 180, 210)
HSLhsl(231, 28%, 76%)
CMYKcmyk(17%, 14%, 0%, 18%)
LABlab(73.8 4.4 -15.7)
LCHlch(73.8 16.3 285.7)
OKLCHoklch(0.776 0.043 277.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb4d2 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#afb4d2 on black: 10.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.6%
Blue82.4%

CMYK percentages

Cyan16.7%
Magenta14.3%
Yellow0.0%
Key (black)17.6%

Color previews

#afb4d2 text on a black background

contrast 10.28:1

Card sample

#afb4d2 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb4d2 in the Color Lab