#AFABB7#AFABB7

#AFABB7 is a light, near-neutral grey. Relative luminance 0.417; OKLCH L 74.8% C 0.018 H 301.1°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#AFABB7
RGBrgb(175, 171, 183)
HSLhsl(260, 8%, 69%)
HSVhsv(260, 7%, 72%)
CMYKcmyk(4.4%, 6.6%, 0%, 28.2%)
CIE-LABlab(70.64, 3.71, -5.63)
CIE-LCHlch(70.64, 6.74, 303.40°)
OKLaboklab(74.82% 0.0091 -0.015)
OKLCHoklch(74.82% 0.018 301.1)
XYZxyz(40.7878, 41.6587, 50.6827)
Luminance0.4166 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABB7 #B3B7AB
analogous
#ABADB7 #AFABB7 #B5ABB7
triadic
#AFABB7 #B7AFAB #ABB7AF
tetradic
#AFABB7 #B7ABAD #B3B7AB #ABB7B5
square
#AFABB7 #B7ABAD #B3B7AB #ABB7B5
split-complementary
#AFABB7 #B7B5AB #ADB7AB
monochromatic
#716B7D #908A9B #AFABB7 #CECCD3 #EEEDEF

Accessibility & contrast

On white

2.25
#AFABB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#AFABB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABB7
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABB7#FFFFFF#000000##000000
##AFABB71.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9ADB8
Deuteranopia (green-blind)
#AAADB7
Tritanopia (blue-blind)
#AEADAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afabb7;
/* rgb */ color: rgb(175, 171, 183);
/* oklch */ color: oklch(74.8% 0.018 301.1);
Tailwind
colors: {
  custom: {
    50: '#c6c4cc',
    500: '#afabb7',
    950: '#000000',
  },
}
SCSS
$custom: #afabb7;
$custom-light: #c6c4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#afabb7",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 183
  },
  "hsl": {
    "h": 260,
    "s": 7.692,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74823,
    "c": 0.01754,
    "h": 301.1
  },
  "luminance": 0.41659
}

Semantic roles & 50–950 ramp

primary
#AFABB7
secondary
#DFE1DD
accent
#92547D
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFABB7

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

Preview Lab → · Contrast checker → · Palette generator →

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