#AFA7AB#AFA7AB

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

Color values

HEX#AFA7AB
RGBrgb(175, 167, 171)
HSLhsl(330, 5%, 67%)
HSVhsv(330, 5%, 69%)
CMYKcmyk(0%, 4.6%, 2.3%, 31.4%)
CIE-LABlab(69.25, 3.61, -1.03)
CIE-LCHlch(69.25, 3.75, 344.02°)
OKLaboklab(73.63% 0.0104 -0.0027)
OKLCHoklch(73.63% 0.011 345.5)
XYZxyz(38.8475, 39.6919, 44.1350)
Luminance0.3969 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7AB #A7AFAB
analogous
#AFA7AF #AFA7AB #AFA7A7
triadic
#AFA7AB #ABAFA7 #A7ABAF
tetradic
#AFA7AB #AFAFA7 #A7AFAB #A7A7AF
square
#AFA7AB #AFAFA7 #A7AFAB #A7A7AF
split-complementary
#AFA7AB #A7AFA7 #A7AFAF
monochromatic
#73696E #92878C #AFA7AB #CCC7CA #E9E7E8

Accessibility & contrast

On white

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

On black

8.94
#AFA7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7AB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7AB#FFFFFF#000000##000000
##AFA7AB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A8AB
Deuteranopia (green-blind)
#A9A9AB
Tritanopia (blue-blind)
#B0A7A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa7ab;
/* rgb */ color: rgb(175, 167, 171);
/* oklch */ color: oklch(73.6% 0.011 345.5);
Tailwind
colors: {
  custom: {
    50: '#c6c1c4',
    500: '#afa7ab',
    950: '#000000',
  },
}
SCSS
$custom: #afa7ab;
$custom-light: #c6c1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7ab",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 171
  },
  "hsl": {
    "h": 330,
    "s": 4.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.73627,
    "c": 0.01075,
    "h": 345.5
  },
  "luminance": 0.39692
}

Semantic roles & 50–950 ramp

primary
#AFA7AB
secondary
#D8DAD9
accent
#8F7357
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFA7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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