Skip to content

#afacc2

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

RGB
175, 172, 194
HSL
248°, 15%, 72%
CMYK
10, 11, 0, 24
Luminance
0.4251

Every format

HEX#afacc2
RGBrgb(175, 172, 194)
HSLhsl(248, 15%, 72%)
CMYKcmyk(10%, 11%, 0%, 24%)
LABlab(71.2 5.4 -10.8)
LCHlch(71.2 12.1 296.4)
OKLCHoklch(0.754 0.031 291.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afacc2 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#afacc2 on black: 9.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.5%
Blue76.1%

CMYK percentages

Cyan9.8%
Magenta11.3%
Yellow0.0%
Key (black)23.9%

Color previews

#afacc2 text on a black background

contrast 9.50:1

Card sample

#afacc2 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacc2 in the Color Lab