#AF516C#AF516C

#AF516C is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.0% C 0.125 H 3.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF516C
RGBrgb(175, 81, 108)
HSLhsl(343, 37%, 50%)
HSVhsv(343, 54%, 69%)
CMYKcmyk(0%, 53.7%, 38.3%, 31.4%)
CIE-LABlab(47.08, 41.14, 3.09)
CIE-LCHlch(47.08, 41.26, 4.30°)
OKLaboklab(56% 0.1252 0.0085)
OKLCHoklch(56% 0.125 3.9)
XYZxyz(23.3297, 16.0839, 16.0603)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF516C #51AF94
analogous
#AF519B #AF516C #AF6551
triadic
#AF516C #6CAF51 #516CAF
tetradic
#AF516C #9BAF51 #51AF94 #6551AF
square
#AF516C #9BAF51 #51AF94 #6551AF
split-complementary
#AF516C #51AF65 #519BAF
monochromatic
#5C2A38 #853D52 #AF516C #C27B8F #D6A5B3

Accessibility & contrast

On white

4.98
#AF516C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF516C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF516C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF516C#FFFFFF#000000##FFFFFF
##AF516C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62646D
Deuteranopia (green-blind)
#7A766A
Tritanopia (blue-blind)
#BC485B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af516c;
/* rgb */ color: rgb(175, 81, 108);
/* oklch */ color: oklch(56.0% 0.125 3.9);
Tailwind
colors: {
  custom: {
    50: '#ca8596',
    500: '#af516c',
    950: '#000000',
  },
}
SCSS
$custom: #af516c;
$custom-light: #ca8596;
$custom-dark: #000000;
JSON
{
  "hex": "#af516c",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 108
  },
  "hsl": {
    "h": 342.766,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55996,
    "c": 0.12546,
    "h": 3.9
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#AF516C
secondary
#99C3B7
accent
#CDAC5B
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF516C

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

Preview Lab → · Contrast checker → · Palette generator →

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