#AFA6B2#AFA6B2

#AFA6B2 is a light, near-neutral grey. Relative luminance 0.396; OKLCH L 73.6% C 0.020 H 317.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFA6B2
RGBrgb(175, 166, 178)
HSLhsl(285, 7%, 67%)
HSVhsv(285, 7%, 70%)
CMYKcmyk(1.7%, 6.7%, 0%, 30.2%)
CIE-LABlab(69.18, 5.48, -5.01)
CIE-LCHlch(69.18, 7.42, 317.58°)
OKLaboklab(73.64% 0.0146 -0.0133)
OKLCHoklch(73.64% 0.02 317.7)
XYZxyz(39.3500, 39.6009, 47.6816)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6B2 #A9B2A6
analogous
#A9A6B2 #AFA6B2 #B2A6AF
triadic
#AFA6B2 #B2AFA6 #A6B2AF
tetradic
#AFA6B2 #B2A9A6 #A9B2A6 #A6AFB2
square
#AFA6B2 #B2A9A6 #A9B2A6 #A6AFB2
split-complementary
#AFA6B2 #AFB2A6 #A6B2A9
monochromatic
#736777 #928596 #AFA6B2 #CCC7CE #EAE8EB

Accessibility & contrast

On white

2.35
#AFA6B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFA6B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6B2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6B2#FFFFFF#000000##000000
##AFA6B21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A8B3
Deuteranopia (green-blind)
#A7A9B2
Tritanopia (blue-blind)
#AFA7AA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa6b2;
/* rgb */ color: rgb(175, 166, 178);
/* oklch */ color: oklch(73.6% 0.020 317.7);
Tailwind
colors: {
  custom: {
    50: '#c6c0c9',
    500: '#afa6b2',
    950: '#000000',
  },
}
SCSS
$custom: #afa6b2;
$custom-light: #c6c0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6b2",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 178
  },
  "hsl": {
    "h": 285,
    "s": 7.229,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.01979,
    "h": 317.7
  },
  "luminance": 0.39601
}

Semantic roles & 50–950 ramp

primary
#AFA6B2
secondary
#D9DCD8
accent
#915464
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA6B2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFA6B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva