#AFA8A3#AFA8A3

#AFA8A3 is a light, near-neutral grey. Relative luminance 0.398; OKLCH L 73.6% C 0.011 H 58.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AFA8A3
RGBrgb(175, 168, 163)
HSLhsl(25, 7%, 66%)
HSVhsv(25, 7%, 69%)
CMYKcmyk(0%, 4%, 6.9%, 31.4%)
CIE-LABlab(69.30, 1.61, 3.47)
CIE-LCHlch(69.30, 3.83, 65.18°)
OKLaboklab(73.6% 0.0057 0.0092)
OKLCHoklch(73.6% 0.011 58.1)
XYZxyz(38.2919, 39.7639, 40.3012)
Luminance0.3976 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8A3 #A3AAAF
analogous
#AFA3A4 #AFA8A3 #AFAEA3
triadic
#AFA8A3 #A3AFA8 #A8A3AF
tetradic
#AFA8A3 #A4AFA3 #A3AAAF #AEA3AF
square
#AFA8A3 #A4AFA3 #A3AAAF #AEA3AF
split-complementary
#AFA8A3 #A3AFAE #A3A4AF
monochromatic
#736B64 #938982 #AFA8A3 #CBC7C4 #E8E6E4

Accessibility & contrast

On white

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

On black

8.95
#AFA8A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8A3
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8A3#FFFFFF#000000##000000
##AFA8A31.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA8A3
Deuteranopia (green-blind)
#ACAAA3
Tritanopia (blue-blind)
#B2A7A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa8a3;
/* rgb */ color: rgb(175, 168, 163);
/* oklch */ color: oklch(73.6% 0.011 58.1);
Tailwind
colors: {
  custom: {
    50: '#c6c1be',
    500: '#afa8a3',
    950: '#000000',
  },
}
SCSS
$custom: #afa8a3;
$custom-light: #c6c1be;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8a3",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 163
  },
  "hsl": {
    "h": 25,
    "s": 6.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.73597,
    "c": 0.0108,
    "h": 58.1
  },
  "luminance": 0.39764
}

Semantic roles & 50–950 ramp

primary
#AFA8A3
secondary
#D5D7D9
accent
#789155
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA8A3

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

Preview Lab → · Contrast checker → · Palette generator →

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