#AFA7B2#AFA7B2

#AFA7B2 is a light, near-neutral grey. Relative luminance 0.400; OKLCH L 73.8% C 0.018 H 316.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AFA7B2
RGBrgb(175, 167, 178)
HSLhsl(284, 7%, 68%)
HSVhsv(284, 6%, 70%)
CMYKcmyk(1.7%, 6.2%, 0%, 30.2%)
CIE-LABlab(69.45, 4.93, -4.62)
CIE-LCHlch(69.45, 6.76, 316.85°)
OKLaboklab(73.85% 0.0131 -0.0123)
OKLCHoklch(73.85% 0.018 316.9)
XYZxyz(39.5325, 39.9659, 47.7424)
Luminance0.3997 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7B2 #AAB2A7
analogous
#A9A7B2 #AFA7B2 #B2A7B0
triadic
#AFA7B2 #B2AFA7 #A7B2AF
tetradic
#AFA7B2 #B2A9A7 #AAB2A7 #A7B0B2
square
#AFA7B2 #B2A9A7 #AAB2A7 #A7B0B2
split-complementary
#AFA7B2 #B0B2A7 #A7B2A9
monochromatic
#736877 #918695 #AFA7B2 #CDC8CF #EAE8EB

Accessibility & contrast

On white

2.34
#AFA7B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AFA7B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7B2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7B2#FFFFFF#000000##000000
##AFA7B21.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A9B3
Deuteranopia (green-blind)
#A7AAB2
Tritanopia (blue-blind)
#AFA8AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa7b2;
/* rgb */ color: rgb(175, 167, 178);
/* oklch */ color: oklch(73.8% 0.018 316.9);
Tailwind
colors: {
  custom: {
    50: '#c6c1c9',
    500: '#afa7b2',
    950: '#000000',
  },
}
SCSS
$custom: #afa7b2;
$custom-light: #c6c1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7b2",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 178
  },
  "hsl": {
    "h": 283.636,
    "s": 6.667,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73845,
    "c": 0.01798,
    "h": 316.9
  },
  "luminance": 0.39966
}

Semantic roles & 50–950 ramp

primary
#AFA7B2
secondary
#DADCD9
accent
#915565
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA7B2

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

Preview Lab → · Contrast checker → · Palette generator →

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