#AFA8B2#AFA8B2

#AFA8B2 is a light, near-neutral grey. Relative luminance 0.403; OKLCH L 74.0% C 0.016 H 316.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA8B2
RGBrgb(175, 168, 178)
HSLhsl(282, 6%, 68%)
HSVhsv(282, 6%, 70%)
CMYKcmyk(1.7%, 5.6%, 0%, 30.2%)
CIE-LABlab(69.71, 4.38, -4.24)
CIE-LCHlch(69.71, 6.10, 315.96°)
OKLaboklab(74.05% 0.0116 -0.0112)
OKLCHoklch(74.05% 0.016 316)
XYZxyz(39.7164, 40.3337, 47.8037)
Luminance0.4033 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8B2 #ABB2A8
analogous
#AAA8B2 #AFA8B2 #B2A8B0
triadic
#AFA8B2 #B2AFA8 #A8B2AF
tetradic
#AFA8B2 #B2AAA8 #ABB2A8 #A8B0B2
square
#AFA8B2 #B2AAA8 #ABB2A8 #A8B0B2
split-complementary
#AFA8B2 #B0B2A8 #A8B2AA
monochromatic
#736977 #918895 #AFA8B2 #CDC8CF #EBE9EB

Accessibility & contrast

On white

2.32
#AFA8B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AFA8B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8B2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8B2#FFFFFF#000000##000000
##AFA8B21.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7AAB2
Deuteranopia (green-blind)
#A8AAB2
Tritanopia (blue-blind)
#AFA9AB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa8b2;
/* rgb */ color: rgb(175, 168, 178);
/* oklch */ color: oklch(74.0% 0.016 316.0);
Tailwind
colors: {
  custom: {
    50: '#c6c1c9',
    500: '#afa8b2',
    950: '#000000',
  },
}
SCSS
$custom: #afa8b2;
$custom-light: #c6c1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8b2",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 178
  },
  "hsl": {
    "h": 282,
    "s": 6.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74049,
    "c": 0.01618,
    "h": 316
  },
  "luminance": 0.40334
}

Semantic roles & 50–950 ramp

primary
#AFA8B2
secondary
#DADCD9
accent
#905667
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA8B2

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

Preview Lab → · Contrast checker → · Palette generator →

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