#AFA2AF#AFA2AF

#AFA2AF is a light, muted grey. Relative luminance 0.381; OKLCH L 72.7% C 0.024 H 325.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AFA2AF
RGBrgb(175, 162, 175)
HSLhsl(300, 8%, 66%)
HSVhsv(300, 7%, 69%)
CMYKcmyk(0%, 7.4%, 0%, 31.4%)
CIE-LABlab(68.06, 7.11, -5.01)
CIE-LCHlch(68.06, 8.70, 324.84°)
OKLaboklab(72.73% 0.0196 -0.0133)
OKLCHoklch(72.73% 0.024 325.8)
XYZxyz(38.3363, 38.0501, 45.8739)
Luminance0.3805 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2AF #A2AFA2
analogous
#A8A2AF #AFA2AF #AFA2A8
triadic
#AFA2AF #AFAFA2 #A2AFAF
tetradic
#AFA2AF #AFA8A2 #A2AFA2 #A2A8AF
square
#AFA2AF #AFA8A2 #A2AFA2 #A2A8AF
split-complementary
#AFA2AF #A8AFA2 #A2AFA8
monochromatic
#736373 #938193 #AFA2AF #CBC3CB #E8E4E8

Accessibility & contrast

On white

2.44
#AFA2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AFA2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2AF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2AF#FFFFFF#000000##000000
##AFA2AF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A5B0
Deuteranopia (green-blind)
#A4A6AE
Tritanopia (blue-blind)
#B0A3A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa2af;
/* rgb */ color: rgb(175, 162, 175);
/* oklch */ color: oklch(72.7% 0.024 325.8);
Tailwind
colors: {
  custom: {
    50: '#c6bdc6',
    500: '#afa2af',
    950: '#000000',
  },
}
SCSS
$custom: #afa2af;
$custom-light: #c6bdc6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2af",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 7.514,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72732,
    "c": 0.02363,
    "h": 325.8
  },
  "luminance": 0.3805
}

Semantic roles & 50–950 ramp

primary
#AFA2AF
secondary
#D4D9D4
accent
#915454
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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