#AF799D#AF799D

#AF799D is a light, moderate pink. Relative luminance 0.252; OKLCH L 64.2% C 0.083 H 339.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF799D
RGBrgb(175, 121, 157)
HSLhsl(320, 25%, 58%)
HSVhsv(320, 31%, 69%)
CMYKcmyk(0%, 30.9%, 10.3%, 31.4%)
CIE-LABlab(57.29, 26.78, -10.83)
CIE-LCHlch(57.29, 28.88, 337.98°)
OKLaboklab(64.23% 0.0777 -0.0287)
OKLCHoklch(64.23% 0.083 339.7)
XYZxyz(30.6022, 25.2244, 35.1486)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF799D #79AF8B
analogous
#A679AF #AF799D #AF7982
triadic
#AF799D #9DAF79 #799DAF
tetradic
#AF799D #AFA679 #79AF8B #7982AF
square
#AF799D #AFA679 #79AF8B #7982AF
split-complementary
#AF799D #82AF79 #79AFA6
monochromatic
#6D415E #93587F #AF799D #C69FB9 #DDC6D5

Accessibility & contrast

On white

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

On black

6.04
#AF799D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF799D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF799D#FFFFFF#000000##000000
##AF799D1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B859E
Deuteranopia (green-blind)
#888D9B
Tritanopia (blue-blind)
#B57A86
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af799d;
/* rgb */ color: rgb(175, 121, 157);
/* oklch */ color: oklch(64.2% 0.083 339.7);
Tailwind
colors: {
  custom: {
    50: '#c7a0ba',
    500: '#af799d',
    950: '#000000',
  },
}
SCSS
$custom: #af799d;
$custom-light: #c7a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af799d",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 320,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.08283,
    "h": 339.7
  },
  "luminance": 0.25223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF799D

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

Preview Lab → · Contrast checker → · Palette generator →

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