#AFABB4#AFABB4

#AFABB4 is a light, near-neutral grey. Relative luminance 0.415; OKLCH L 74.7% C 0.013 H 305.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#AFABB4
RGBrgb(175, 171, 180)
HSLhsl(267, 6%, 69%)
HSVhsv(267, 5%, 71%)
CMYKcmyk(2.8%, 5%, 0%, 29.4%)
CIE-LABlab(70.55, 3.13, -4.10)
CIE-LCHlch(70.55, 5.16, 307.33°)
OKLaboklab(74.73% 0.0079 -0.0109)
OKLCHoklch(74.73% 0.013 305.9)
XYZxyz(40.4789, 41.5351, 49.0557)
Luminance0.4153 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABB4 #B0B4AB
analogous
#ABACB4 #AFABB4 #B4ABB4
triadic
#AFABB4 #B4AFAB #ABB4AF
tetradic
#AFABB4 #B4ABAC #B0B4AB #ABB4B4
square
#AFABB4 #B4ABAC #B0B4AB #ABB4B4
split-complementary
#AFABB4 #B4B4AB #ACB4AB
monochromatic
#726C79 #908B97 #AFABB4 #CECBD1 #EDECEE

Accessibility & contrast

On white

2.26
#AFABB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#AFABB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABB4
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABB4#FFFFFF#000000##000000
##AFABB41.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAACB4
Deuteranopia (green-blind)
#AAADB4
Tritanopia (blue-blind)
#AEACAE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afabb4;
/* rgb */ color: rgb(175, 171, 180);
/* oklch */ color: oklch(74.7% 0.013 305.9);
Tailwind
colors: {
  custom: {
    50: '#c6c4ca',
    500: '#afabb4',
    950: '#000000',
  },
}
SCSS
$custom: #afabb4;
$custom-light: #c6c4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#afabb4",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 180
  },
  "hsl": {
    "h": 266.667,
    "s": 5.66,
    "l": 68.824
  },
  "oklch": {
    "l": 0.74728,
    "c": 0.01348,
    "h": 305.9
  },
  "luminance": 0.41535
}

Semantic roles & 50–950 ramp

primary
#AFABB4
secondary
#DEDFDC
accent
#905676
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFABB4

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

Preview Lab → · Contrast checker → · Palette generator →

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