#AFABAF#AFABAF

#AFABAF is a light, near-neutral grey. Relative luminance 0.413; OKLCH L 74.6% C 0.007 H 325.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AFABAF
RGBrgb(175, 171, 175)
HSLhsl(300, 2%, 68%)
HSVhsv(300, 2%, 69%)
CMYKcmyk(0%, 2.3%, 0%, 31.4%)
CIE-LABlab(70.41, 2.17, -1.54)
CIE-LCHlch(70.41, 2.66, 324.57°)
OKLaboklab(74.57% 0.006 -0.0041)
OKLCHoklch(74.57% 0.007 325.6)
XYZxyz(39.9787, 41.3350, 46.4214)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABAF #ABAFAB
analogous
#ADABAF #AFABAF #AFABAD
triadic
#AFABAF #AFAFAB #ABAFAF
tetradic
#AFABAF #AFADAB #ABAFAB #ABADAF
square
#AFABAF #AFADAB #ABAFAB #ABADAF
split-complementary
#AFABAF #ADAFAB #ABAFAD
monochromatic
#736D73 #918C91 #AFABAF #CDCACD #EBEAEB

Accessibility & contrast

On white

2.27
#AFABAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#AFABAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABAF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABAF#FFFFFF#000000##000000
##AFABAF1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABACAF
Deuteranopia (green-blind)
#ACACAF
Tritanopia (blue-blind)
#AFABAC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afabaf;
/* rgb */ color: rgb(175, 171, 175);
/* oklch */ color: oklch(74.6% 0.007 325.6);
Tailwind
colors: {
  custom: {
    50: '#c6c4c6',
    500: '#afabaf',
    950: '#000000',
  },
}
SCSS
$custom: #afabaf;
$custom-light: #c6c4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#afabaf",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 2.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74573,
    "c": 0.00722,
    "h": 325.6
  },
  "luminance": 0.41335
}

Semantic roles & 50–950 ramp

primary
#AFABAF
secondary
#DADCDA
accent
#8C5959
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFABAF

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

Preview Lab → · Contrast checker → · Palette generator →

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