#AF799A#AF799A

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

Color values

HEX#AF799A
RGBrgb(175, 121, 154)
HSLhsl(323, 25%, 58%)
HSVhsv(323, 31%, 69%)
CMYKcmyk(0%, 30.9%, 12%, 31.4%)
CIE-LABlab(57.20, 26.25, -9.24)
CIE-LCHlch(57.20, 27.83, 340.60°)
OKLaboklab(64.12% 0.0767 -0.0244)
OKLCHoklch(64.12% 0.08 342.3)
XYZxyz(30.3492, 25.1232, 33.8162)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF799A #79AF8E
analogous
#A979AF #AF799A #AF797F
triadic
#AF799A #9AAF79 #799AAF
tetradic
#AF799A #AFA979 #79AF8E #797FAF
square
#AF799A #AFA979 #79AF8E #797FAF
split-complementary
#AF799A #7FAF79 #79AFA9
monochromatic
#6D415C #93587C #AF799A #C69FB7 #DDC6D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF799A#FFFFFF#000000##000000
##AF799A1.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)
#7C849B
Deuteranopia (green-blind)
#898C98
Tritanopia (blue-blind)
#B67984
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af799a;
/* rgb */ color: rgb(175, 121, 154);
/* oklch */ color: oklch(64.1% 0.080 342.3);
Tailwind
colors: {
  custom: {
    50: '#c7a0b7',
    500: '#af799a',
    950: '#000000',
  },
}
SCSS
$custom: #af799a;
$custom-light: #c7a0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af799a",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 323.333,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64124,
    "c": 0.08045,
    "h": 342.3
  },
  "luminance": 0.25122
}

Semantic roles & 50–950 ramp

primary
#AF799A
secondary
#B7CDC0
accent
#C28A66
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130F11
muted
#827E80

Preview Lab

Preview with #AF799A

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

Preview Lab → · Contrast checker → · Palette generator →

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