#AFAFB2#AFAFB2

#AFAFB2 is a light, near-neutral grey. Relative luminance 0.430; OKLCH L 75.5% C 0.004 H 286.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#AFAFB2
RGBrgb(175, 175, 178)
HSLhsl(240, 2%, 69%)
HSVhsv(240, 2%, 70%)
CMYKcmyk(1.7%, 1.7%, 0%, 30.2%)
CIE-LABlab(71.55, 0.57, -1.53)
CIE-LCHlch(71.55, 1.63, 290.34°)
OKLaboklab(75.49% 0.0012 -0.0041)
OKLCHoklch(75.49% 0.004 286.3)
XYZxyz(41.0437, 42.9882, 48.2461)
Luminance0.4299 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFB2 #B2B2AF
analogous
#AFB1B2 #AFAFB2 #B1AFB2
triadic
#AFAFB2 #B2AFAF #AFB2AF
tetradic
#AFAFB2 #B2AFB1 #B2B2AF #AFB2B1
square
#AFAFB2 #B2AFB1 #B2B2AF #AFB2B1
split-complementary
#AFAFB2 #B2B1AF #B1B2AF
monochromatic
#717176 #909094 #AFAFB2 #CECED0 #EDEDEE

Accessibility & contrast

On white

2.19
#AFAFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#AFAFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFB2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFB2#FFFFFF#000000##000000
##AFAFB21.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEAFB2
Deuteranopia (green-blind)
#AEAFB2
Tritanopia (blue-blind)
#AEAFB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afafb2;
/* rgb */ color: rgb(175, 175, 178);
/* oklch */ color: oklch(75.5% 0.004 286.3);
Tailwind
colors: {
  custom: {
    50: '#c6c6c9',
    500: '#afafb2',
    950: '#000000',
  },
}
SCSS
$custom: #afafb2;
$custom-light: #c6c6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#afafb2",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 1.911,
    "l": 69.216
  },
  "oklch": {
    "l": 0.75492,
    "c": 0.00424,
    "h": 286.3
  },
  "luminance": 0.42988
}

Semantic roles & 50–950 ramp

primary
#AFAFB2
secondary
#DFDFDE
accent
#8C5A8C
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131313
muted
#828282

Preview Lab

Preview with #AFAFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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