#AF7C8A#AF7C8A

#AF7C8A is a light, moderate pink. Relative luminance 0.254; OKLCH L 64.1% C 0.066 H 1.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF7C8A
RGBrgb(175, 124, 138)
HSLhsl(344, 24%, 59%)
HSVhsv(344, 29%, 69%)
CMYKcmyk(0%, 29.1%, 21.1%, 31.4%)
CIE-LABlab(57.43, 21.92, 0.36)
CIE-LCHlch(57.43, 21.93, 0.94°)
OKLaboklab(64.15% 0.066 0.0013)
OKLCHoklch(64.15% 0.066 1.1)
XYZxyz(29.4746, 25.3658, 27.3834)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7C8A #7CAFA1
analogous
#AF7CA3 #AF7C8A #AF877C
triadic
#AF7C8A #8AAF7C #7C8AAF
tetradic
#AF7C8A #A3AF7C #7CAFA1 #877CAF
square
#AF7C8A #A3AF7C #7CAFA1 #877CAF
split-complementary
#AF7C8A #7CAF87 #7CA3AF
monochromatic
#6E434F #945A6A #AF7C8A #C6A2AC #DDC8CE

Accessibility & contrast

On white

3.46
#AF7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AF7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7C8A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7C8A#FFFFFF#000000##000000
##AF7C8A1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83858A
Deuteranopia (green-blind)
#8F8D89
Tritanopia (blue-blind)
#B87981
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af7c8a;
/* rgb */ color: rgb(175, 124, 138);
/* oklch */ color: oklch(64.1% 0.066 1.1);
Tailwind
colors: {
  custom: {
    50: '#c8a2ac',
    500: '#af7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #af7c8a;
$custom-light: #c8a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af7c8a",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 343.529,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64145,
    "c": 0.06596,
    "h": 1.1
  },
  "luminance": 0.25364
}

Semantic roles & 50–950 ramp

primary
#AF7C8A
secondary
#B9CDC8
accent
#C1A867
background
#FCFAFA
surface
#F8F3F4
border
#D1CDCE
text
#130F10
muted
#827F7F

Preview Lab

Preview with #AF7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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