#AF8EA5#AF8EA5

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

Color values

HEX#AF8EA5
RGBrgb(175, 142, 165)
HSLhsl(318, 17%, 62%)
HSVhsv(318, 19%, 69%)
CMYKcmyk(0%, 18.9%, 5.7%, 31.4%)
CIE-LABlab(62.66, 16.39, -7.40)
CIE-LCHlch(62.66, 17.98, 335.72°)
OKLaboklab(68.44% 0.0469 -0.0196)
OKLCHoklch(68.44% 0.051 337.3)
XYZxyz(34.1431, 31.1775, 39.8093)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8EA5 #8EAF98
analogous
#A98EAF #AF8EA5 #AF8E95
triadic
#AF8EA5 #A5AF8E #8EA5AF
tetradic
#AF8EA5 #AFA98E #8EAF98 #8E95AF
square
#AF8EA5 #AFA98E #8EAF98 #8E95AF
split-complementary
#AF8EA5 #95AF8E #8EAFA9
monochromatic
#725168 #966A88 #AF8EA5 #C8B2C2 #E2D6DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8EA5#FFFFFF#000000##000000
##AF8EA51.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)
#8F95A6
Deuteranopia (green-blind)
#9699A4
Tritanopia (blue-blind)
#B38F96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af8ea5;
/* rgb */ color: rgb(175, 142, 165);
/* oklch */ color: oklch(68.4% 0.051 337.3);
Tailwind
colors: {
  custom: {
    50: '#c7afbf',
    500: '#af8ea5',
    950: '#000000',
  },
}
SCSS
$custom: #af8ea5;
$custom-light: #c7afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ea5",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 318.182,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68438,
    "c": 0.0508,
    "h": 337.3
  },
  "luminance": 0.31177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF8EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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