#AF8EA7#AF8EA7

#AF8EA7 is a light, muted pink. Relative luminance 0.313; OKLCH L 68.5% C 0.053 H 334.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AF8EA7
RGBrgb(175, 142, 167)
HSLhsl(315, 17%, 62%)
HSVhsv(315, 19%, 69%)
CMYKcmyk(0%, 18.9%, 4.6%, 31.4%)
CIE-LABlab(62.72, 16.76, -8.44)
CIE-LCHlch(62.72, 18.77, 333.28°)
OKLaboklab(68.51% 0.0476 -0.0224)
OKLCHoklch(68.51% 0.053 334.8)
XYZxyz(34.3266, 31.2508, 40.7755)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8EA7 #8EAF96
analogous
#A68EAF #AF8EA7 #AF8E97
triadic
#AF8EA7 #A7AF8E #8EA7AF
tetradic
#AF8EA7 #AFA68E #8EAF96 #8E97AF
square
#AF8EA7 #AFA68E #8EAF96 #8E97AF
split-complementary
#AF8EA7 #97AF8E #8EAFA6
monochromatic
#72516A #966A8B #AF8EA7 #C8B2C3 #E2D6DF

Accessibility & contrast

On white

2.90
#AF8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AF8EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8EA7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8EA7#FFFFFF#000000##000000
##AF8EA71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E95A8
Deuteranopia (green-blind)
#9599A6
Tritanopia (blue-blind)
#B38F96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af8ea7;
/* rgb */ color: rgb(175, 142, 167);
/* oklch */ color: oklch(68.5% 0.053 334.8);
Tailwind
colors: {
  custom: {
    50: '#c7afc1',
    500: '#af8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #af8ea7;
$custom-light: #c7afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ea7",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 314.545,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68506,
    "c": 0.05262,
    "h": 334.8
  },
  "luminance": 0.3125
}

Semantic roles & 50–950 ramp

primary
#AF8EA7
secondary
#C6D2C9
accent
#9B5E4A
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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