#AFA6AF#AFA6AF

#AFA6AF is a light, near-neutral grey. Relative luminance 0.395; OKLCH L 73.5% C 0.016 H 325.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AFA6AF
RGBrgb(175, 166, 175)
HSLhsl(300, 5%, 67%)
HSVhsv(300, 5%, 69%)
CMYKcmyk(0%, 5.1%, 0%, 31.4%)
CIE-LABlab(69.10, 4.91, -3.47)
CIE-LCHlch(69.10, 6.01, 324.72°)
OKLaboklab(73.55% 0.0135 -0.0092)
OKLCHoklch(73.55% 0.016 325.7)
XYZxyz(39.0521, 39.4818, 46.1126)
Luminance0.3948 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6AF #A6AFA6
analogous
#ABA6AF #AFA6AF #AFA6AB
triadic
#AFA6AF #AFAFA6 #A6AFAF
tetradic
#AFA6AF #AFABA6 #A6AFA6 #A6ABAF
square
#AFA6AF #AFABA6 #A6AFA6 #A6ABAF
split-complementary
#AFA6AF #ABAFA6 #A6AFAB
monochromatic
#736773 #928692 #AFA6AF #CCC6CC #E9E6E9

Accessibility & contrast

On white

2.36
#AFA6AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#AFA6AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6AF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6AF#FFFFFF#000000##000000
##AFA6AF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A8AF
Deuteranopia (green-blind)
#A7A9AF
Tritanopia (blue-blind)
#B0A7A9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa6af;
/* rgb */ color: rgb(175, 166, 175);
/* oklch */ color: oklch(73.5% 0.016 325.7);
Tailwind
colors: {
  custom: {
    50: '#c6c0c6',
    500: '#afa6af',
    950: '#000000',
  },
}
SCSS
$custom: #afa6af;
$custom-light: #c6c0c6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6af",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 5.325,
    "l": 66.863
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.01631,
    "h": 325.7
  },
  "luminance": 0.39482
}

Semantic roles & 50–950 ramp

primary
#AFA6AF
secondary
#D7DAD7
accent
#8F5656
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA6AF

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

Preview Lab → · Contrast checker → · Palette generator →

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