#AFA8AF#AFA8AF

#AFA8AF is a light, near-neutral grey. Relative luminance 0.402; OKLCH L 74.0% C 0.013 H 325.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#AFA8AF
RGBrgb(175, 168, 175)
HSLhsl(300, 4%, 67%)
HSVhsv(300, 4%, 69%)
CMYKcmyk(0%, 4%, 0%, 31.4%)
CIE-LABlab(69.62, 3.81, -2.70)
CIE-LCHlch(69.62, 4.67, 324.66°)
OKLaboklab(73.96% 0.0105 -0.0071)
OKLCHoklch(73.96% 0.013 325.7)
XYZxyz(39.4185, 40.2146, 46.2347)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8AF #A8AFA8
analogous
#ACA8AF #AFA8AF #AFA8AC
triadic
#AFA8AF #AFAFA8 #A8AFAF
tetradic
#AFA8AF #AFACA8 #A8AFA8 #A8ACAF
square
#AFA8AF #AFACA8 #A8AFA8 #A8ACAF
split-complementary
#AFA8AF #ACAFA8 #A8AFAC
monochromatic
#736A73 #928892 #AFA8AF #CCC8CC #EAE8EA

Accessibility & contrast

On white

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

On black

9.04
#AFA8AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8AF
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8AF#FFFFFF#000000##000000
##AFA8AF1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8AAAF
Deuteranopia (green-blind)
#A9AAAF
Tritanopia (blue-blind)
#B0A8AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa8af;
/* rgb */ color: rgb(175, 168, 175);
/* oklch */ color: oklch(74.0% 0.013 325.7);
Tailwind
colors: {
  custom: {
    50: '#c6c1c6',
    500: '#afa8af',
    950: '#000000',
  },
}
SCSS
$custom: #afa8af;
$custom-light: #c6c1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8af",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 4.192,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73955,
    "c": 0.01267,
    "h": 325.7
  },
  "luminance": 0.40214
}

Semantic roles & 50–950 ramp

primary
#AFA8AF
secondary
#D8DBD8
accent
#8E5757
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA8AF

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

Preview Lab → · Contrast checker → · Palette generator →

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