#AF8EA6#AF8EA6

#AF8EA6 is a light, muted pink. Relative luminance 0.312; OKLCH L 68.5% C 0.052 H 336.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AF8EA6
RGBrgb(175, 142, 166)
HSLhsl(316, 17%, 62%)
HSVhsv(316, 19%, 69%)
CMYKcmyk(0%, 18.9%, 5.1%, 31.4%)
CIE-LABlab(62.69, 16.58, -7.92)
CIE-LCHlch(62.69, 18.37, 334.47°)
OKLaboklab(68.47% 0.0473 -0.021)
OKLCHoklch(68.47% 0.052 336)
XYZxyz(34.2345, 31.2140, 40.2905)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8EA6 #8EAF97
analogous
#A88EAF #AF8EA6 #AF8E96
triadic
#AF8EA6 #A6AF8E #8EA6AF
tetradic
#AF8EA6 #AFA88E #8EAF97 #8E96AF
square
#AF8EA6 #AFA88E #8EAF97 #8E96AF
split-complementary
#AF8EA6 #96AF8E #8EAFA8
monochromatic
#725169 #966A8A #AF8EA6 #C8B2C2 #E2D6DE

Accessibility & contrast

On white

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

On black

7.24
#AF8EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8EA6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8EA6#FFFFFF#000000##000000
##AF8EA61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E95A7
Deuteranopia (green-blind)
#9699A5
Tritanopia (blue-blind)
#B38F96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af8ea6;
/* rgb */ color: rgb(175, 142, 166);
/* oklch */ color: oklch(68.5% 0.052 336.0);
Tailwind
colors: {
  custom: {
    50: '#c7afc0',
    500: '#af8ea6',
    950: '#000000',
  },
}
SCSS
$custom: #af8ea6;
$custom-light: #c7afc0;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ea6",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 166
  },
  "hsl": {
    "h": 316.364,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.0517,
    "h": 336
  },
  "luminance": 0.31213
}

Semantic roles & 50–950 ramp

primary
#AF8EA6
secondary
#C6D2CA
accent
#9B604A
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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