#AF7C8D#AF7C8D

#AF7C8D is a light, moderate pink. Relative luminance 0.255; OKLCH L 64.2% C 0.067 H 357.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF7C8D
RGBrgb(175, 124, 141)
HSLhsl(340, 24%, 59%)
HSVhsv(340, 29%, 69%)
CMYKcmyk(0%, 29.1%, 19.4%, 31.4%)
CIE-LABlab(57.51, 22.40, -1.25)
CIE-LCHlch(57.51, 22.43, 356.81°)
OKLaboklab(64.24% 0.0671 -0.003)
OKLCHoklch(64.24% 0.067 357.5)
XYZxyz(29.6948, 25.4538, 28.5431)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7C8D #7CAF9E
analogous
#AF7CA6 #AF7C8D #AF847C
triadic
#AF7C8D #8DAF7C #7C8DAF
tetradic
#AF7C8D #A6AF7C #7CAF9E #847CAF
square
#AF7C8D #A6AF7C #7CAF9E #847CAF
split-complementary
#AF7C8D #7CAF84 #7CA6AF
monochromatic
#6E4351 #945A6D #AF7C8D #C6A2AE #DDC8CF

Accessibility & contrast

On white

3.45
#AF7C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AF7C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7C8D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7C8D#FFFFFF#000000##000000
##AF7C8D1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82858E
Deuteranopia (green-blind)
#8E8D8C
Tritanopia (blue-blind)
#B77A82
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af7c8d;
/* rgb */ color: rgb(175, 124, 141);
/* oklch */ color: oklch(64.2% 0.067 357.5);
Tailwind
colors: {
  custom: {
    50: '#c7a2ae',
    500: '#af7c8d',
    950: '#000000',
  },
}
SCSS
$custom: #af7c8d;
$custom-light: #c7a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af7c8d",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 340,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64239,
    "c": 0.06716,
    "h": 357.5
  },
  "luminance": 0.25452
}

Semantic roles & 50–950 ramp

primary
#AF7C8D
secondary
#B9CDC7
accent
#C1A367
background
#FCFAFA
surface
#F8F3F4
border
#D1CDCE
text
#130F10
muted
#827F7F

Preview Lab

Preview with #AF7C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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