#AF516A#AF516A

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

Color values

HEX#AF516A
RGBrgb(175, 81, 106)
HSLhsl(344, 37%, 50%)
HSVhsv(344, 54%, 69%)
CMYKcmyk(0%, 53.7%, 39.4%, 31.4%)
CIE-LABlab(47.03, 40.91, 4.23)
CIE-LCHlch(47.03, 41.13, 5.90°)
OKLaboklab(55.94% 0.1244 0.0114)
OKLCHoklch(55.94% 0.125 5.2)
XYZxyz(23.2245, 16.0418, 15.5062)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF516A #51AF96
analogous
#AF5199 #AF516A #AF6751
triadic
#AF516A #6AAF51 #516AAF
tetradic
#AF516A #99AF51 #51AF96 #6751AF
square
#AF516A #99AF51 #51AF96 #6751AF
split-complementary
#AF516A #51AF67 #5199AF
monochromatic
#5C2A37 #853D51 #AF516A #C27B8E #D6A5B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF516A#FFFFFF#000000##FFFFFF
##AF516A1.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)
#62646B
Deuteranopia (green-blind)
#7A7668
Tritanopia (blue-blind)
#BD485A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af516a;
/* rgb */ color: rgb(175, 81, 106);
/* oklch */ color: oklch(55.9% 0.125 5.2);
Tailwind
colors: {
  custom: {
    50: '#ca8594',
    500: '#af516a',
    950: '#000000',
  },
}
SCSS
$custom: #af516a;
$custom-light: #ca8594;
$custom-dark: #000000;
JSON
{
  "hex": "#af516a",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 106
  },
  "hsl": {
    "h": 344.043,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.12494,
    "h": 5.2
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#AF516A
secondary
#99C3B8
accent
#CDAF5B
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF516A

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

Preview Lab → · Contrast checker → · Palette generator →

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