#AFA1A2#AFA1A2

#AFA1A2 is a light, near-neutral red. Relative luminance 0.372; OKLCH L 72.1% C 0.016 H 12.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA1A2
RGBrgb(175, 161, 162)
HSLhsl(356, 8%, 66%)
HSVhsv(356, 8%, 69%)
CMYKcmyk(0%, 8%, 7.4%, 31.4%)
CIE-LABlab(67.44, 5.26, 1.32)
CIE-LCHlch(67.44, 5.43, 14.10°)
OKLaboklab(72.13% 0.016 0.0036)
OKLCHoklch(72.13% 0.016 12.6)
XYZxyz(36.9450, 37.2129, 39.4120)
Luminance0.3721 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1A2 #A1AFAE
analogous
#AFA1A9 #AFA1A2 #AFA7A1
triadic
#AFA1A2 #A2AFA1 #A1A2AF
tetradic
#AFA1A2 #A9AFA1 #A1AFAE #A7A1AF
square
#AFA1A2 #A9AFA1 #A1AFAE #A7A1AF
split-complementary
#AFA1A2 #A1AFA7 #A1A9AF
monochromatic
#736263 #938081 #AFA1A2 #CBC2C3 #E7E3E3

Accessibility & contrast

On white

2.49
#AFA1A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AFA1A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1A2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1A2#FFFFFF#000000##000000
##AFA1A21.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A3A2
Deuteranopia (green-blind)
#A6A5A2
Tritanopia (blue-blind)
#B2A0A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa1a2;
/* rgb */ color: rgb(175, 161, 162);
/* oklch */ color: oklch(72.1% 0.016 12.6);
Tailwind
colors: {
  custom: {
    50: '#c7bcbd',
    500: '#afa1a2',
    950: '#000000',
  },
}
SCSS
$custom: #afa1a2;
$custom-light: #c7bcbd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1a2",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 162
  },
  "hsl": {
    "h": 355.714,
    "s": 8.046,
    "l": 65.882
  },
  "oklch": {
    "l": 0.72127,
    "c": 0.01641,
    "h": 12.6
  },
  "luminance": 0.37212
}

Semantic roles & 50–950 ramp

primary
#AFA1A2
secondary
#D4D8D8
accent
#928E53
background
#FCFBFB
surface
#F8F6F6
border
#D1D0D0
text
#131212
muted
#828181

Preview Lab

Preview with #AFA1A2

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

Preview Lab → · Contrast checker → · Palette generator →

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