Skip to content

#afb2d2

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

RGB
175, 178, 210
HSL
235°, 28%, 76%
CMYK
17, 15, 0, 18
Luminance
0.4561

Every format

HEX#afb2d2
RGBrgb(175, 178, 210)
HSLhsl(235, 28%, 76%)
CMYKcmyk(17%, 15%, 0%, 18%)
LABlab(73.3 5.5 -16.5)
LCHlch(73.3 17.4 288.4)
OKLCHoklch(0.772 0.046 281.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2d2 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#afb2d2 on black: 10.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.8%
Blue82.4%

CMYK percentages

Cyan16.7%
Magenta15.2%
Yellow0.0%
Key (black)17.6%

Color previews

#afb2d2 text on a black background

contrast 10.12:1

Card sample

#afb2d2 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2d2 in the Color Lab