#AF8EA2#AF8EA2

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

Color values

HEX#AF8EA2
RGBrgb(175, 142, 162)
HSLhsl(324, 17%, 62%)
HSVhsv(324, 19%, 69%)
CMYKcmyk(0%, 18.9%, 7.4%, 31.4%)
CIE-LABlab(62.57, 15.85, -5.83)
CIE-LCHlch(62.57, 16.89, 339.80°)
OKLaboklab(68.34% 0.0458 -0.0153)
OKLCHoklch(68.34% 0.048 341.5)
XYZxyz(33.8733, 31.0695, 38.3881)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8EA2 #8EAF9B
analogous
#AB8EAF #AF8EA2 #AF8E92
triadic
#AF8EA2 #A2AF8E #8EA2AF
tetradic
#AF8EA2 #AFAB8E #8EAF9B #8E92AF
square
#AF8EA2 #AFAB8E #8EAF9B #8E92AF
split-complementary
#AF8EA2 #92AF8E #8EAFAB
monochromatic
#725165 #966A85 #AF8EA2 #C8B2BF #E2D6DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8EA2#FFFFFF#000000##000000
##AF8EA21.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)
#8F94A3
Deuteranopia (green-blind)
#9799A1
Tritanopia (blue-blind)
#B38E95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af8ea2;
/* rgb */ color: rgb(175, 142, 162);
/* oklch */ color: oklch(68.3% 0.048 341.5);
Tailwind
colors: {
  custom: {
    50: '#c7afbd',
    500: '#af8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #af8ea2;
$custom-light: #c7afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ea2",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 323.636,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68338,
    "c": 0.04829,
    "h": 341.5
  },
  "luminance": 0.31069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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