#AF7C97#AF7C97

#AF7C97 is a light, moderate pink. Relative luminance 0.258; OKLCH L 64.6% C 0.073 H 346.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF7C97
RGBrgb(175, 124, 151)
HSLhsl(328, 24%, 59%)
HSVhsv(328, 29%, 69%)
CMYKcmyk(0%, 29.1%, 13.7%, 31.4%)
CIE-LABlab(57.81, 24.05, -6.59)
CIE-LCHlch(57.81, 24.94, 344.68°)
OKLaboklab(64.57% 0.0707 -0.0173)
OKLCHoklch(64.57% 0.073 346.3)
XYZxyz(30.4728, 25.7650, 32.6402)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7C97 #7CAF94
analogous
#AD7CAF #AF7C97 #AF7C7D
triadic
#AF7C97 #97AF7C #7C97AF
tetradic
#AF7C97 #AFAD7C #7CAF94 #7C7DAF
square
#AF7C97 #AFAD7C #7CAF94 #7C7DAF
split-complementary
#AF7C97 #7DAF7C #7CAFAD
monochromatic
#6E435A #945A79 #AF7C97 #C6A2B5 #DDC8D3

Accessibility & contrast

On white

3.41
#AF7C97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF7C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7C97
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7C97#FFFFFF#000000##000000
##AF7C971.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8698
Deuteranopia (green-blind)
#8C8E96
Tritanopia (blue-blind)
#B67B85
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af7c97;
/* rgb */ color: rgb(175, 124, 151);
/* oklch */ color: oklch(64.6% 0.073 346.3);
Tailwind
colors: {
  custom: {
    50: '#c7a2b5',
    500: '#af7c97',
    950: '#000000',
  },
}
SCSS
$custom: #af7c97;
$custom-light: #c7a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af7c97",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 151
  },
  "hsl": {
    "h": 328.235,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.07282,
    "h": 346.3
  },
  "luminance": 0.25764
}

Semantic roles & 50–950 ramp

primary
#AF7C97
secondary
#B9CDC3
accent
#C19167
background
#FCFAFB
surface
#F8F3F6
border
#D1CDD0
text
#130F11
muted
#827F80

Preview Lab

Preview with #AF7C97

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

Preview Lab → · Contrast checker → · Palette generator →

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