#AF799F#AF799F

#AF799F is a light, moderate pink. Relative luminance 0.253; OKLCH L 64.3% C 0.084 H 338.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF799F
RGBrgb(175, 121, 159)
HSLhsl(318, 25%, 58%)
HSVhsv(318, 31%, 69%)
CMYKcmyk(0%, 30.9%, 9.1%, 31.4%)
CIE-LABlab(57.36, 27.13, -11.88)
CIE-LCHlch(57.36, 29.62, 336.34°)
OKLaboklab(64.31% 0.0783 -0.0316)
OKLCHoklch(64.31% 0.084 338)
XYZxyz(30.7744, 25.2933, 36.0552)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF799F #79AF89
analogous
#A479AF #AF799F #AF7984
triadic
#AF799F #9FAF79 #799FAF
tetradic
#AF799F #AFA479 #79AF89 #7984AF
square
#AF799F #AFA479 #79AF89 #7984AF
split-complementary
#AF799F #84AF79 #79AFA4
monochromatic
#6D4160 #935881 #AF799F #C69FBA #DDC6D6

Accessibility & contrast

On white

3.47
#AF799F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AF799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF799F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF799F#FFFFFF#000000##000000
##AF799F1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A85A0
Deuteranopia (green-blind)
#878D9D
Tritanopia (blue-blind)
#B57A86
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af799f;
/* rgb */ color: rgb(175, 121, 159);
/* oklch */ color: oklch(64.3% 0.084 338.0);
Tailwind
colors: {
  custom: {
    50: '#c7a0bb',
    500: '#af799f',
    950: '#000000',
  },
}
SCSS
$custom: #af799f;
$custom-light: #c7a0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af799f",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 317.778,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64305,
    "c": 0.08448,
    "h": 338
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

primary
#AF799F
secondary
#B7CDBE
accent
#C28166
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130F11
muted
#827E80

Preview Lab

Preview with #AF799F

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

Preview Lab → · Contrast checker → · Palette generator →

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