#AF7B8A#AF7B8A

#AF7B8A is a light, moderate pink. Relative luminance 0.251; OKLCH L 64.0% C 0.068 H 0.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF7B8A
RGBrgb(175, 123, 138)
HSLhsl(343, 25%, 58%)
HSVhsv(343, 30%, 69%)
CMYKcmyk(0%, 29.7%, 21.1%, 31.4%)
CIE-LABlab(57.19, 22.49, 0.01)
CIE-LCHlch(57.19, 22.49, 0.02°)
OKLaboklab(63.96% 0.0676 0.0003)
OKLCHoklch(63.96% 0.068 0.3)
XYZxyz(29.3500, 25.1164, 27.3418)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7B8A #7BAFA0
analogous
#AF7BA4 #AF7B8A #AF867B
triadic
#AF7B8A #8AAF7B #7B8AAF
tetradic
#AF7B8A #A4AF7B #7BAFA0 #867BAF
square
#AF7B8A #A4AF7B #7BAFA0 #867BAF
split-complementary
#AF7B8A #7BAF86 #7BA4AF
monochromatic
#6D424F #93596A #AF7B8A #C6A1AC #DDC7CE

Accessibility & contrast

On white

3.49
#AF7B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AF7B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7B8A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7B8A#FFFFFF#000000##000000
##AF7B8A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82848B
Deuteranopia (green-blind)
#8E8D89
Tritanopia (blue-blind)
#B87880
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af7b8a;
/* rgb */ color: rgb(175, 123, 138);
/* oklch */ color: oklch(64.0% 0.068 0.3);
Tailwind
colors: {
  custom: {
    50: '#c8a1ac',
    500: '#af7b8a',
    950: '#000000',
  },
}
SCSS
$custom: #af7b8a;
$custom-light: #c8a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af7b8a",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 342.692,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.0676,
    "h": 0.3
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

primary
#AF7B8A
secondary
#B9CDC7
accent
#C1A767
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130F10
muted
#827E7F

Preview Lab

Preview with #AF7B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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