#AF8EA8#AF8EA8

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

Color values

HEX#AF8EA8
RGBrgb(175, 142, 168)
HSLhsl(313, 17%, 62%)
HSVhsv(313, 19%, 69%)
CMYKcmyk(0%, 18.9%, 4%, 31.4%)
CIE-LABlab(62.75, 16.95, -8.96)
CIE-LCHlch(62.75, 19.17, 332.15°)
OKLaboklab(68.54% 0.048 -0.0238)
OKLCHoklch(68.54% 0.054 333.6)
XYZxyz(34.4194, 31.2880, 41.2642)
Luminance0.3129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8EA8 #8EAF95
analogous
#A58EAF #AF8EA8 #AF8E98
triadic
#AF8EA8 #A8AF8E #8EA8AF
tetradic
#AF8EA8 #AFA58E #8EAF95 #8E98AF
square
#AF8EA8 #AFA58E #8EAF95 #8E98AF
split-complementary
#AF8EA8 #98AF8E #8EAFA5
monochromatic
#72516B #966A8C #AF8EA8 #C8B2C4 #E2D6DF

Accessibility & contrast

On white

2.89
#AF8EA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AF8EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8EA8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8EA8#FFFFFF#000000##000000
##AF8EA81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E95A9
Deuteranopia (green-blind)
#9599A7
Tritanopia (blue-blind)
#B28F97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af8ea8;
/* rgb */ color: rgb(175, 142, 168);
/* oklch */ color: oklch(68.5% 0.054 333.6);
Tailwind
colors: {
  custom: {
    50: '#c7afc1',
    500: '#af8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #af8ea8;
$custom-light: #c7afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ea8",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 312.727,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6854,
    "c": 0.05355,
    "h": 333.6
  },
  "luminance": 0.31287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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