#AF8EA4#AF8EA4

#AF8EA4 is a light, muted pink. Relative luminance 0.311; OKLCH L 68.4% C 0.050 H 338.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AF8EA4
RGBrgb(175, 142, 164)
HSLhsl(320, 17%, 62%)
HSVhsv(320, 19%, 69%)
CMYKcmyk(0%, 18.9%, 6.3%, 31.4%)
CIE-LABlab(62.63, 16.21, -6.87)
CIE-LCHlch(62.63, 17.61, 337.02°)
OKLaboklab(68.4% 0.0465 -0.0182)
OKLCHoklch(68.4% 0.05 338.7)
XYZxyz(34.0525, 31.1412, 39.3318)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8EA4 #8EAF99
analogous
#AA8EAF #AF8EA4 #AF8E94
triadic
#AF8EA4 #A4AF8E #8EA4AF
tetradic
#AF8EA4 #AFAA8E #8EAF99 #8E94AF
square
#AF8EA4 #AFAA8E #8EAF99 #8E94AF
split-complementary
#AF8EA4 #94AF8E #8EAFAA
monochromatic
#725167 #966A87 #AF8EA4 #C8B2C1 #E2D6DE

Accessibility & contrast

On white

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

On black

7.23
#AF8EA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8EA4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8EA4#FFFFFF#000000##000000
##AF8EA41.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F95A5
Deuteranopia (green-blind)
#9699A3
Tritanopia (blue-blind)
#B38F95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af8ea4;
/* rgb */ color: rgb(175, 142, 164);
/* oklch */ color: oklch(68.4% 0.050 338.7);
Tailwind
colors: {
  custom: {
    50: '#c7afbf',
    500: '#af8ea4',
    950: '#000000',
  },
}
SCSS
$custom: #af8ea4;
$custom-light: #c7afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ea4",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 320,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68404,
    "c": 0.04994,
    "h": 338.7
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#AF8EA4
secondary
#C6D2CA
accent
#9B654A
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#131012
muted
#827F81

Preview Lab

Preview with #AF8EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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