#AF516B#AF516B

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

Color values

HEX#AF516B
RGBrgb(175, 81, 107)
HSLhsl(343, 37%, 50%)
HSVhsv(343, 54%, 69%)
CMYKcmyk(0%, 53.7%, 38.9%, 31.4%)
CIE-LABlab(47.06, 41.03, 3.66)
CIE-LCHlch(47.06, 41.19, 5.10°)
OKLaboklab(55.97% 0.1248 0.01)
OKLCHoklch(55.97% 0.125 4.6)
XYZxyz(23.2768, 16.0627, 15.7816)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF516B #51AF95
analogous
#AF519A #AF516B #AF6651
triadic
#AF516B #6BAF51 #516BAF
tetradic
#AF516B #9AAF51 #51AF95 #6651AF
square
#AF516B #9AAF51 #51AF95 #6651AF
split-complementary
#AF516B #51AF66 #519AAF
monochromatic
#5C2A38 #853D51 #AF516B #C27B8F #D6A5B2

Accessibility & contrast

On white

4.99
#AF516B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF516B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF516B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF516B#FFFFFF#000000##FFFFFF
##AF516B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af516b;
/* rgb */ color: rgb(175, 81, 107);
/* oklch */ color: oklch(56.0% 0.125 4.6);
Tailwind
colors: {
  custom: {
    50: '#ca8595',
    500: '#af516b',
    950: '#000000',
  },
}
SCSS
$custom: #af516b;
$custom-light: #ca8595;
$custom-dark: #000000;
JSON
{
  "hex": "#af516b",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 107
  },
  "hsl": {
    "h": 343.404,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.12519,
    "h": 4.6
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF516B

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

Preview Lab → · Contrast checker → · Palette generator →

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