#AF8EA1#AF8EA1

#AF8EA1 is a light, muted pink. Relative luminance 0.310; OKLCH L 68.3% C 0.048 H 342.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF8EA1
RGBrgb(175, 142, 161)
HSLhsl(325, 17%, 62%)
HSVhsv(325, 19%, 69%)
CMYKcmyk(0%, 18.9%, 8%, 31.4%)
CIE-LABlab(62.54, 15.67, -5.31)
CIE-LCHlch(62.54, 16.54, 341.29°)
OKLaboklab(68.31% 0.0454 -0.0139)
OKLCHoklch(68.31% 0.048 342.9)
XYZxyz(33.7848, 31.0341, 37.9218)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8EA1 #8EAF9C
analogous
#AD8EAF #AF8EA1 #AF8E91
triadic
#AF8EA1 #A1AF8E #8EA1AF
tetradic
#AF8EA1 #AFAD8E #8EAF9C #8E91AF
square
#AF8EA1 #AFAD8E #8EAF9C #8E91AF
split-complementary
#AF8EA1 #91AF8E #8EAFAD
monochromatic
#725164 #966A83 #AF8EA1 #C8B2BF #E2D6DD

Accessibility & contrast

On white

2.91
#AF8EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF8EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8EA1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8EA1#FFFFFF#000000##000000
##AF8EA11.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9094A2
Deuteranopia (green-blind)
#9799A0
Tritanopia (blue-blind)
#B48E94
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af8ea1;
/* rgb */ color: rgb(175, 142, 161);
/* oklch */ color: oklch(68.3% 0.048 342.9);
Tailwind
colors: {
  custom: {
    50: '#c7afbc',
    500: '#af8ea1',
    950: '#000000',
  },
}
SCSS
$custom: #af8ea1;
$custom-light: #c7afbc;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ea1",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 161
  },
  "hsl": {
    "h": 325.455,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68305,
    "c": 0.04751,
    "h": 342.9
  },
  "luminance": 0.31033
}

Semantic roles & 50–950 ramp

primary
#AF8EA1
secondary
#C6D2CB
accent
#9B6D4A
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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