#AFA2A7#AFA2A7

#AFA2A7 is a light, near-neutral grey. Relative luminance 0.377; OKLCH L 72.5% C 0.017 H 352.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AFA2A7
RGBrgb(175, 162, 167)
HSLhsl(337, 8%, 66%)
HSVhsv(337, 7%, 69%)
CMYKcmyk(0%, 7.4%, 4.6%, 31.4%)
CIE-LABlab(67.83, 5.61, -0.89)
CIE-LCHlch(67.83, 5.68, 351.04°)
OKLaboklab(72.48% 0.0165 -0.0023)
OKLCHoklch(72.48% 0.017 352.1)
XYZxyz(37.5737, 37.7451, 41.8579)
Luminance0.3775 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2A7 #A2AFAA
analogous
#AFA2AD #AFA2A7 #AFA3A2
triadic
#AFA2A7 #A7AFA2 #A2A7AF
tetradic
#AFA2A7 #ADAFA2 #A2AFAA #A3A2AF
square
#AFA2A7 #ADAFA2 #A2AFAA #A3A2AF
split-complementary
#AFA2A7 #A2AFA3 #A2ADAF
monochromatic
#736369 #938188 #AFA2A7 #CBC3C6 #E8E4E5

Accessibility & contrast

On white

2.46
#AFA2A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AFA2A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2A7
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2A7#FFFFFF#000000##000000
##AFA2A71.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A4A7
Deuteranopia (green-blind)
#A6A6A7
Tritanopia (blue-blind)
#B1A2A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa2a7;
/* rgb */ color: rgb(175, 162, 167);
/* oklch */ color: oklch(72.5% 0.017 352.1);
Tailwind
colors: {
  custom: {
    50: '#c6bdc1',
    500: '#afa2a7',
    950: '#000000',
  },
}
SCSS
$custom: #afa2a7;
$custom-light: #c6bdc1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2a7",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 167
  },
  "hsl": {
    "h": 336.923,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72482,
    "c": 0.01662,
    "h": 352.1
  },
  "luminance": 0.37745
}

Semantic roles & 50–950 ramp

primary
#AFA2A7
secondary
#D4D9D7
accent
#917A54
background
#FCFBFB
surface
#F8F6F7
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA2A7

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

Preview Lab → · Contrast checker → · Palette generator →

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