#AFA7A2#AFA7A2

#AFA7A2 is a light, near-neutral grey. Relative luminance 0.394; OKLCH L 73.4% C 0.012 H 54.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AFA7A2
RGBrgb(175, 167, 162)
HSLhsl(23, 8%, 66%)
HSVhsv(23, 7%, 69%)
CMYKcmyk(0%, 4.6%, 7.4%, 31.4%)
CIE-LABlab(69.01, 1.97, 3.61)
CIE-LCHlch(69.01, 4.11, 61.31°)
OKLaboklab(73.36% 0.0068 0.0095)
OKLCHoklch(73.36% 0.012 54.5)
XYZxyz(38.0187, 39.3604, 39.7699)
Luminance0.3936 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7A2 #A2AAAF
analogous
#AFA2A3 #AFA7A2 #AFADA2
triadic
#AFA7A2 #A2AFA7 #A7A2AF
tetradic
#AFA7A2 #A3AFA2 #A2AAAF #ADA2AF
square
#AFA7A2 #A3AFA2 #A2AAAF #ADA2AF
split-complementary
#AFA7A2 #A2AFAD #A2A3AF
monochromatic
#736963 #938881 #AFA7A2 #CBC6C3 #E8E5E4

Accessibility & contrast

On white

2.37
#AFA7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AFA7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7A2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7A2#FFFFFF#000000##000000
##AFA7A21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A7A2
Deuteranopia (green-blind)
#ABA9A2
Tritanopia (blue-blind)
#B2A6A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa7a2;
/* rgb */ color: rgb(175, 167, 162);
/* oklch */ color: oklch(73.4% 0.012 54.5);
Tailwind
colors: {
  custom: {
    50: '#c6c1bd',
    500: '#afa7a2',
    950: '#000000',
  },
}
SCSS
$custom: #afa7a2;
$custom-light: #c6c1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7a2",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 162
  },
  "hsl": {
    "h": 23.077,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.73362,
    "c": 0.01171,
    "h": 54.5
  },
  "luminance": 0.3936
}

Semantic roles & 50–950 ramp

primary
#AFA7A2
secondary
#D4D7D9
accent
#7A9154
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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