Skip to content

#afb8d2

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

RGB
175, 184, 210
HSL
225°, 28%, 76%
CMYK
17, 12, 0, 18
Luminance
0.4805

Every format

HEX#afb8d2
RGBrgb(175, 184, 210)
HSLhsl(225, 28%, 76%)
CMYKcmyk(17%, 12%, 0%, 18%)
LABlab(74.8 2.2 -14.1)
LCHlch(74.8 14.3 278.9)
OKLCHoklch(0.784 0.038 270.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb8d2 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#afb8d2 on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.2%
Blue82.4%

CMYK percentages

Cyan16.7%
Magenta12.4%
Yellow0.0%
Key (black)17.6%

Color previews

#afb8d2 text on a black background

contrast 10.61:1

Card sample

#afb8d2 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb8d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb8d2 in the Color Lab