#AFABB2#AFABB2

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

Color values

HEX#AFABB2
RGBrgb(175, 171, 178)
HSLhsl(274, 4%, 68%)
HSVhsv(274, 4%, 70%)
CMYKcmyk(1.7%, 3.9%, 0%, 30.2%)
CIE-LABlab(70.49, 2.74, -3.08)
CIE-LCHlch(70.49, 4.12, 311.68°)
OKLaboklab(74.67% 0.0071 -0.0082)
OKLCHoklch(74.67% 0.011 311.2)
XYZxyz(40.2766, 41.4542, 47.9905)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABB2 #AEB2AB
analogous
#ABABB2 #AFABB2 #B2ABB1
triadic
#AFABB2 #B2AFAB #ABB2AF
tetradic
#AFABB2 #B2ABAB #AEB2AB #ABB1B2
square
#AFABB2 #B2ABAB #AEB2AB #ABB1B2
split-complementary
#AFABB2 #B1B2AB #ABB2AB
monochromatic
#726C76 #918B95 #AFABB2 #CDCBCF #ECEBED

Accessibility & contrast

On white

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

On black

9.29
#AFABB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABB2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABB2#FFFFFF#000000##000000
##AFABB21.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAACB2
Deuteranopia (green-blind)
#ABACB2
Tritanopia (blue-blind)
#AFACAD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afabb2;
/* rgb */ color: rgb(175, 171, 178);
/* oklch */ color: oklch(74.7% 0.011 311.2);
Tailwind
colors: {
  custom: {
    50: '#c6c4c9',
    500: '#afabb2',
    950: '#000000',
  },
}
SCSS
$custom: #afabb2;
$custom-light: #c6c4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#afabb2",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 178
  },
  "hsl": {
    "h": 274.286,
    "s": 4.348,
    "l": 68.431
  },
  "oklch": {
    "l": 0.74665,
    "c": 0.01085,
    "h": 311.2
  },
  "luminance": 0.41454
}

Semantic roles & 50–950 ramp

primary
#AFABB2
secondary
#DCDDDB
accent
#8E576F
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFABB2

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

Preview Lab → · Contrast checker → · Palette generator →

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